| Forum: VB.NET |
Thema:
Re: IP Adresse abfrage |
Von:
G. Guest (
03.06.2003 09:56) |
Imports System.Net
Dim hostentry As IPHostEntry = New IPHostEntry() hostentry = Dns.Resolve(Dns.GetHostName)
MsgBox(hostentry.HostName)
Dim ip As IPAddress
For Each ip In hostentry.AddressList
MsgBox(ip.ToString)
Next ip
Antworten
Vorsicht bei der Eingabe: Die Zeichen ' oder -- sind nicht erlaubt!