Constructs and initializes a new instance of the System.Net.NetworkCredential class with the specified user name, password, and domain.
This constructor initializes the NetworkCredential.UserName property of the new instance to userName, the NetworkCredential.Password property to password, and the NetworkCredential.Domain property to domain. The values specified for userName, password and domain are passed through to the operating system without modification.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0