'UsageDim userName As String Dim password As String Dim instance As New NetworkSecurity(userName, password)
Parameters
- userName
 - The username associated with this credential.
The value of this parameter cannot be
null(Nothingin Visual Basic). - password
 - The password for the username.
The value of this parameter cannot be
null(Nothingin Visual Basic).