Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the real IP
Message
De
17/09/2013 13:13:20
 
 
À
17/09/2013 12:51:31
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01583370
Message ID:
01583439
Vues:
34
>>Are you sure that works. lcIP may be set multiple times and you will return just the last one. Is that what you want ?
>
>Isn't InterNetwork the primary address? If not, based on that, what would you recommand to make sure we get the primary address?

Not sure what you mean by 'primary' address. On my machine your code (or, at least, my Linq version of it) returns 4 IP4 addresses, two for wireless and two for Ethernet. Don't see any way to distinguish which one you might be looking for.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform