GetCredential Method
Collapse the table of content
Expand the table of content

NetworkCredential.GetCredential Method

 

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

Namespace:   System.Net
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodGetCredential(String, Int32, String)

Returns an instance of the NetworkCredential class for the specified host, port, and authentication type.

System_CAPS_pubmethodGetCredential(Uri, String)

Returns an instance of the NetworkCredential class for the specified Uniform Resource Identifier (URI) and authentication type.

Return to top
Show:
© 2016 Microsoft