I'm starting to try to learn a little bit in the "marra", and I wanted to know if I have to do some code that checks if a specific URL is online, if it is the application must start normally, otherwise the application should be closed.
Does anyone have any idea how I can do this in C #?