Mono Class Library: System.Net.NetworkCredential Overview | Members

System.Net.NetworkCredential.Domain Property

Gets or sets the domain or machine name that verifies the current credentials. [Edit]

public string Domain { set; get; }

Value

A string containing the name of the domain that verifies the current credentials. [Edit]

Permissions

TypeReason
System.Security.Permissions.EnvironmentPermission [Edit] Requires read access to the environment variable that contains the domain name. See System.Security.Permissions.EnvironmentPermissionAccess.Read.

Remarks

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.
[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0