using System.Net;
string howtogeek = Request.Url.Host;
IPAddress[] addresslist = Dns.GetHostAddresses(howtogeek);
string howtogeek = Request.Url.Host;
IPAddress[] addresslist = Dns.GetHostAddresses(howtogeek);
string hostname = addresslist[0].ToString();
No comments:
Post a Comment