Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the real IP
Message
From
17/09/2013 13:13:20
 
 
To
17/09/2013 12:51:31
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01583370
Message ID:
01583439
Views:
35
>>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.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform