ComputerInfo.CsDomain Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 : stringPublic ReadOnly Property CsDomain As StringProperty Value
Remarks
If the computer is not part of a domain, then the name of the workgroup is returned