This documentation is archived and is not being maintained.

NetworkCredential.GetCredential Method

Returns an instance of the NetworkCredential class for the specified authentication type.

Name Description
NetworkCredential.GetCredential (Uri, String) Returns an instance of the NetworkCredential class for the specified Uniform Resource Identifier (URI) and authentication type.

Supported by the .NET Compact Framework.

NetworkCredential.GetCredential (String, Int32, String) Returns an instance of the NetworkCredential class for the specified host, port, and authentication type.
Show: