Wednesday, 8 August 2012

Getting the host name From url


Getting the host name From url

System.Uri url = new System.Uri(UserDomain);
                string host = url.Host;

No comments:

Post a Comment