I want to write a program in C# that recognize now computer connected to internet or not by C#.
Would you help me how to do that, I have no idea about it,because I didnt work network in C#.
one more question,how I can run a program from c# and sent argument also?
Here is a simple example on how you can check if your computer is connected to the internet.
Here is another example on how to launch a program in C#. You can check this msdn page for more information on the
Processclass.