In The Hand - .NET Components for Mobility
DomainName Property
NamespacesInTheHand.Net.NetworkInformationIPGlobalPropertiesDomainName
Gets the domain in which the local computer is registered.
Declaration Syntax
C#Visual Basic
public string DomainName { get; }
Public ReadOnly Property DomainName As String
Value
A String instance that contains the computer's domain name. If the computer does not belong to a domain, returns Empty()()().
Exceptions
ExceptionCondition
NetworkInformationExceptionA Win32 function call failed.

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 2.1.0.0