SipCredentialCache.GetCredential Method
Returns the NetworkCredential instance associated with the supplied Realm.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function GetCredential ( _
realm As String _
) As NetworkCredential
'Usage
Dim instance As SipCredentialCache
Dim realm As String
Dim returnValue As NetworkCredential
returnValue = instance.GetCredential(realm)
public NetworkCredential GetCredential(
string realm
)
Parameters
- realm
Type: System.String
The realm to retrieve the matching credential.
Return Value
Type: System.Net.NetworkCredential
Returns the NetworkCredential instance associated with the supplied realm or null if not found.