I created a library on C#, that checks if your computer is connected to internet or not. Is useful for license registrations and many other things. Along with the .dll, i have a txt doc with instructions on how to uses and an example along with it.
Download link:
If you have any questions, i 'll be happy to answer them through comments or private PM's !