a en fait tu veux l'ip de l'ordi sur le reseau ou l'ip public? -- http://www.correzeweb.com http://www.localetv.com http://cerbermail.com/?5RVJmRhSQw
Christian
voici pour l'ip sur le reseau
# Private IP As String = "" # # Public Function getIP() As String # If IP = "" Then # IP = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName).AddressList.GetValue(0).ToString # End If # Return IP # End Function -- http://www.correzeweb.com http://www.localetv.com http://cerbermail.com/?5RVJmRhSQw
voici pour l'ip sur le reseau
# Private IP As String = ""
#
# Public Function getIP() As String
# If IP = "" Then
# IP =
System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName).AddressList.GetValue(0).ToString
# End If
# Return IP
# End Function
--
http://www.correzeweb.com
http://www.localetv.com
http://cerbermail.com/?5RVJmRhSQw
# Private IP As String = "" # # Public Function getIP() As String # If IP = "" Then # IP = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName).AddressList.GetValue(0).ToString # End If # Return IP # End Function -- http://www.correzeweb.com http://www.localetv.com http://cerbermail.com/?5RVJmRhSQw
TroXsA - [VB.NET-2005]
System.Net.IPAddress non ?
"Stéphane" a écrit dans le message de news:
Bonjour,
Je cherche 1 moyen de connaitre l'adresse IP du PC en cours (pas d'un PC sur le réseau).
Merci d'avance, Stéphane
System.Net.IPAddress
non ?
"Stéphane" <stephane@no-spam.fr> a écrit dans le message de news:
ufiwS8DzFHA.3180@TK2MSFTNGP14.phx.gbl...
Bonjour,
Je cherche 1 moyen de connaitre l'adresse IP du PC en cours (pas d'un PC
sur
le réseau).
Je cherche 1 moyen de connaitre l'adresse IP du PC en cours (pas d'un PC sur le réseau).
Merci d'avance, Stéphane
Stéphane L.
Merci.
"Christian" <http://cerbermail.com/?5RVJmRhSQw> a écrit dans le message de news: %
voici pour l'ip sur le reseau
# Private IP As String = "" # # Public Function getIP() As String # If IP = "" Then # IP = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName).AddressList.GetValue(0).ToString # End If # Return IP # End Function -- http://www.correzeweb.com http://www.localetv.com http://cerbermail.com/?5RVJmRhSQw
Merci.
"Christian" <http://cerbermail.com/?5RVJmRhSQw> a écrit dans le message de
news: %23yAASzNzFHA.2540@TK2MSFTNGP09.phx.gbl...
voici pour l'ip sur le reseau
# Private IP As String = ""
#
# Public Function getIP() As String
# If IP = "" Then
# IP =
System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName).AddressList.GetValue(0).ToString
# End If
# Return IP
# End Function
--
http://www.correzeweb.com
http://www.localetv.com
http://cerbermail.com/?5RVJmRhSQw
"Christian" <http://cerbermail.com/?5RVJmRhSQw> a écrit dans le message de news: %
voici pour l'ip sur le reseau
# Private IP As String = "" # # Public Function getIP() As String # If IP = "" Then # IP = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName).AddressList.GetValue(0).ToString # End If # Return IP # End Function -- http://www.correzeweb.com http://www.localetv.com http://cerbermail.com/?5RVJmRhSQw
Stéphane L.
Merci
"TroXsA - [VB.NET-2005]" a écrit dans le message de news: 43498cab$0$21028$
System.Net.IPAddress non ?
"Stéphane" a écrit dans le message de news:
Bonjour,
Je cherche 1 moyen de connaitre l'adresse IP du PC en cours (pas d'un PC sur le réseau).
Merci d'avance, Stéphane
Merci
"TroXsA - [VB.NET-2005]" <pouet@h.com> a écrit dans le message de news:
43498cab$0$21028$636a55ce@news.free.fr...
System.Net.IPAddress
non ?
"Stéphane" <stephane@no-spam.fr> a écrit dans le message de news:
ufiwS8DzFHA.3180@TK2MSFTNGP14.phx.gbl...
Bonjour,
Je cherche 1 moyen de connaitre l'adresse IP du PC en cours (pas d'un PC
sur
le réseau).