'Declaration
Public Function New( _ ByVal userName As String, _ ByVal password As SecureString _ )
'Usage
Dim userName As String Dim password As SecureString Dim instance As New NetworkCredential2(userName, password)
public NetworkCredential2( string userName, SecureString password )
public: NetworkCredential2( String^ userName, SecureString^ password )
Parameters
- userName
The value of this parameter can be
null
(Nothing
in Visual Basic).- password
The value of this parameter can be
null
(Nothing
in Visual Basic).