I often have to find the IP address of a machine I'm working on (or need to work on). Sometimes, I need to unblock an IP address of a machine on my network, so the machine can reach a network share ...
Is there an easy way (like via a .Net library) that allows me to get the IP address and subnet mask of the local machine that the application is running on?