Returns the NetworkCredential instance associated with the supplied Realm.

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

Syntax

Visual Basic (Declaration)
Public 
Function 
GetCredential ( _
	
realm 
As 
String _
) 
As 
NetworkCredential
C#
public 
NetworkCredential 
GetCredential(
	
string 
realm
)
Visual C++
public:
NetworkCredential^ 
GetCredential(
	
String^ 
realm
)
JavaScript
function 
getCredential(
realm);

Parameters

realm
Type: String
The realm to retrieve the matching credential.

Return Value

Returns the NetworkCredential instance associated with the supplied realm or null if not found.

See Also