ComputerInfo.CsDomain Property

Definition

Name of the domain to which a computer belongs.

public:
 property System::String ^ CsDomain { System::String ^ get(); };
public:
 property Platform::String ^ CsDomain { Platform::String ^ get(); };
public string CsDomain { get; }
member this.CsDomain : string
Public ReadOnly Property CsDomain As String

Property Value

Remarks

If the computer is not part of a domain, then the name of the workgroup is returned

Applies to