Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the real IP
Message
De
17/09/2013 09:35:02
 
 
À
17/09/2013 01:57:24
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:
01583389
Vues:
53
>Rather than "64 bit environment" I think you meant "ipv6 environment". The "::1" value you're getting back is the local loopback address, the ipv6 equivalent of the ipv4 127.0.0.1.
>
>This link should help: http://stackoverflow.com/questions/151231/how-do-i-get-the-local-network-ip-address-of-a-computer-programmatically-c

If you are refering to the last part of the page, there is some code which includes "NetworkInformation". From my understanding, if this is the code that can be used as an example to extract the IP address, this seems to be only supported from .NET Framework 4.5. Is this your understanding as well and the code you were refering to? When I tried it in my environment, I cannot get NetworkInformation to be available under the System.Net namespace.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform