Gets or sets the domain or machine name that verifies the current credentials.
A string containing the name of the domain that verifies the current credentials.
Type Reason System.Security.Permissions.EnvironmentPermission Requires read access to the environment variable that contains the domain name. See System.Security.Permissions.EnvironmentPermissionAccess.Read.
The NetworkCredential.Domain property indicates the domain or realm to which the account belongs.Note: Typically, this is the host machine name where the application executes or the user domain for the currently logged in user.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0