Stop my IP code example
Example: Stop my IP
If you don't have the option to configure DHCP, or just need your PC to keep its IP for a limited amount of time, setting a static IP address will be the way to go. Open up the Control Panel and click on Network and Internet > Network and Sharing Center > Change adapter settings.