Browsed by
Day: October 7, 2010

Getting local IP address programmatically in Windows 7

Getting local IP address programmatically in Windows 7

I created a small client app for my company that required the local IP address (assigned by DHCP) to determine what site it was on. It reads the second octet value, which is consistent with each of our buildings in our enterprise. From here, I can determine what content to load so no matter where the PC is placed, it automatically grabs content only specific to that location. Anyway, when testing this application on Windows 7 it doesn’t load any…

Read More Read More