Hi guys,
I need to make a patch that when running, will block all requests to a specific URL. Has anyone done that before if so would love a code snippet!
I know I can just add it to the hosts file, or even make a program to add it to add it to the hosts file automatically but there is certain times when access is needed, so I only want to block it when my patch is running and unblock it when the patch is closed.
Any pointers or help?
thanks