Forum: VB.NET |
Thema:
Re: IP Adresse abfrage |
Von:
Hannes Preishuber (
03.02.2003 16:07) |
Dim h As System.Net.IPHostEntry = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName)
Console.WriteLine(CType(h.AddressList.GetValue(0), IPAddress).ToString)
hilft bestimmt
-Hannes
-Hannes
Betreff |
Von |
Datum |
|
  |
Re: IP Adresse abfrage
Imports System.Net <br> <br>Dim hostentry As IPHostEntry = New IPHostEntry() hostentry = Dns.Resolve(Dns.GetHostName) <br>MsgBox(hostentry.HostName) <br> <br>Dim ip As IPAddress ... |
 |
 |
 |
|
|
G.
Guest
|
03.06.2003 09:56 |
|
|
Antworten
Vorsicht bei der Eingabe: Die Zeichen ' oder -- sind nicht erlaubt!