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!

NetworkCredential Constructor (String, String)

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

[Visual Basic]
Overloads Public Sub New( _
   ByVal Name As String, _
   ByVal Password As String _
)
[C#]
public NetworkCredential(
   string Name,
   string Password
);
[C++]
public: NetworkCredential(
   String* Name,
   String* Password
);
[JScript]
public function NetworkCredential(
   Name : String,
   Password : String
);

Parameters

Name
The user name associated with the credentials.
Password
The password for the user name.

See Also

NetworkCredential Class | NetworkCredential Members | System.Net Namespace | NetworkCredential Constructor Overload List