NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CredentialCache.GetCredential

Returns the NetworkCredential instance associated with the supplied URI and authentication type.

[Visual Basic]
Overridable Public Function GetCredential( _
   ByVal URI As String, _
   ByVal AuthType As String _
) As NetworkCredential
[C#]
public virtual NetworkCredential GetCredential(
   string URI,
   string AuthType
);
[C++]
public: virtual NetworkCredential* GetCredential(
   String* URI,
   String* AuthType
);
[JScript]
public function GetCredential(
   URI : String,
   AuthType : String
) : NetworkCredential;

Parameters

URI
The URI string that the credential applies to.
AuthType
The authentication scheme used by the host referred to in URI. Taken from the list of authentication types included in System.Net.AuthenticationTypes.

Return Value

A NetworkCredential instance.

See Also

CredentialCache Class | CredentialCache Members | System.Net Namespace