Gets or sets the encryption key. If the Method property indicates "prompt," then this property is not used. If the method is base64, the value should be base64-encoded. If the method is URI, the value should be a URI. The format is not checked by the parser.

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

Syntax

Visual Basic (Declaration)
Public 
Property 
Key 
As 
String
C#
public 
string 
Key { 
get; 
set; }
Visual C++
public:
property 
String^ 
Key {
	
String^ 
get ();
	
void 
set (
String^ 
value);
}
JavaScript
function get_
key();
function set_
key(
value);

Exceptions

Exception Condition
ArgumentNullException Thrown when value is null.
ArgumentException Thrown when value is an empty string.

See Also