'Declaration
Public Function New( _ ByVal userName As String, _ ByVal password As String, _ ByVal domain As String _ )
'Usage
Dim userName As String Dim password As String Dim domain As String Dim instance As New NetworkSecurity(userName, password, domain)
Parameters
- userName
- The username associated with this credential.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - password
- The password for the username.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - domain
- The machine name that verifies the credentials. Usually this is the host machine.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).