Dns.GetHostName Method (System.Net) - MSDN - Microsoft
經安全檢測,此網站為安全網站,請放心前往原始網址!
Dns.GetHostName Method (System.Net) - MSDN - Microsoft
public void DisplayLocalHostName() { try { // Get the local computer host name.
String hostName = Dns.GetHostName(); Console.WriteLine("Computer name :" +
...