Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NetworkCredential Constructor

 

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:
© 2017 Microsoft