public static string GetHostName()
{
string hostName = "";
// Getting Ip address of local machine...
// First get the host name of local machine.
hostName = Dns.GetHostName ();
return hostName;
}
{
string hostName = "";
// Getting Ip address of local machine...
// First get the host name of local machine.
hostName = Dns.GetHostName ();
return hostName;
}
No comments:
Post a Comment