Adds a NetworkCredential instance to the credential cache.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
Add ( _
	
realm 
As 
String, _
	
credential 
As 
NetworkCredential _
)
C#
public 
void 
Add(
	
string 
realm,
	
NetworkCredential 
credential
)
Visual C++
public:
void 
Add(
	
String^ 
realm, 
	
NetworkCredential^ 
credential
)
JavaScript
function 
add(
realm, 
credential);

Parameters

realm
Type: String
The realm for the credential.
credential
Type: NetworkCredential
The NetworkCredential for the specified realm.

See Also