Dns.GetHostName : Dns « Socket Network « VB.Net Tutorial






Imports System.Net


Public Class Tester
    Public Shared Sub Main

        Console.WriteLine(Dns.GetHostName)
    End Sub
End Class
java2s








22.16.Dns
22.16.1.Dns.GetHostName
22.16.2.Get IP address by domain name
22.16.3.Get Host name by address
22.16.4.Resolve domain in a thread
22.16.5.Get Host Name and IP address