Hi guys
I have found this bit of code on Google:
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
tboxDNSDomain.Text = properties.DomainName;
This is the output that I am looking for:

I want to display the domain that the PC is currently running on.
Any help much appreciated.
I have found this bit of code on Google:
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
tboxDNSDomain.Text = properties.DomainName;
This is the output that I am looking for:

I want to display the domain that the PC is currently running on.
Any help much appreciated.