.NET Framework 4.6 and 4.5
The NetworkCredential type exposes the following members.
|Domain||Gets or sets the domain or computer name that verifies the credentials.|
|Password||Gets or sets the password for the user name associated with the credentials.|
|SecurePassword||Gets or sets the password as a SecureString instance.|
|UserName||Gets or sets the user name associated with the credentials.|