Archive for October, 2012

C# .NET Tips

1. Getting application running system’s domain name and host name

System.Net.NetworkInformation.IPGlobalProperties.GetIPGlobalProperties().DomainName;
System.Net.Dns.GetHostName();

 

 

Leave a Comment