Share via


IRTCSession2::IsSecurityEnabled

This method determines if encryption is enabled for the specified security type. This method can be called only from the RTCSS_CONNECTED session state.

HRESULT IsSecurityEnabled(
  RTC_SECURITY_TYPE enSecurityType,
  VARIANT_BOOL* pfSecurityEnabled
);

Parameters

  • enSecurityType
    [in] An RTC_SECURITY_TYPE enumeration value specifying the security type.
  • pfSecurityEnabled
    [out] Pointer to VARIANT_TRUE if the media is encrypted, and to VARIANT_FALSE otherwise. An undefined value is retrieved when the media type specified is not part of the session.

Return Values

This method can return an RTC_E_ constant.

Remarks

The application can use this method to query the session for the supported encryption level for each security type in the session.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCSession2 | RTC_SECURITY_TYPE

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.