General information
Category:
Coding, syntax and commands
Environment versions
Network:
Windows 2003 Server
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only