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!

SingleCredential.GetCredential

Returns an instance of the NetworkCredential class for a 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 that the client is providing authentication for.
AuthType
The type of authentication as defined in the AuthenticationType class.

Return Value

NetworkCredential instance.

See Also

SingleCredential Class | SingleCredential Members | System.Net Namespace