Sets the list of allowed keys in the certificate of the remote host. This can be set event while listening and will affect future incoming connections.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
SetEnhancedKeyUsage ( _
	
enhancedKeyUsageToSet 
As 
ICollection(
Of 
String) _
)
C#
public 
void 
SetEnhancedKeyUsage(
	
ICollection<
string> 
enhancedKeyUsageToSet
)
Visual C++
public:
void 
SetEnhancedKeyUsage(
	
ICollection<
String^>^ 
enhancedKeyUsageToSet
)
JavaScript
function 
setEnhancedKeyUsage(
enhancedKeyUsageToSet);

Parameters

enhancedKeyUsageToSet
Type: ICollection < (Of < ( String > ) > )
The enhanced key usage list.

See Also