NetworkCredential Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the NetworkCredential class.

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

NameDescription
System_CAPS_pubmethodNetworkCredential()

Initializes a new instance of the NetworkCredential class.

System_CAPS_pubmethodNetworkCredential(String, SecureString)

Initializes a new instance of the NetworkCredential class with the specified user name and password.

System_CAPS_pubmethodNetworkCredential(String, SecureString, String)

Initializes a new instance of the NetworkCredential class with the specified user name, password, and domain.

System_CAPS_pubmethodNetworkCredential(String, String)

Initializes a new instance of the NetworkCredential class with the specified user name and password.

System_CAPS_pubmethodNetworkCredential(String, String, String)

Initializes a new instance of the NetworkCredential class with the specified user name, password, and domain.

Return to top
Show: