I am using a p2p program that runs as a service. But that program has a bug that it will not be able to work properly if the computer is not connected to internet, at the time the service is starting.
And this happens all the time, because i am in a wireless network and its getting connected after i login.
So, i want to check if my computer is connected to the internet before starting the p2p service. And i want it to be programmatic (at the startup time)because, its happens in all the windows 7 machines.
Even though i addresses only one problem, i also have to know is my computer is connected with any wireless network programmattically.
Are both the things are possible!! I am relatively new to sys admin tasks like this.
Any suggestions would be appreciative.