dos
-
I want create programe to send message from my to athor computer same message is show in windows xp(message service) such as (net send 128.0.0.1 hi ) how I do that in C#.net
-
I want create programe to send message from my to athor computer same message is show in windows xp(message service) such as (net send 128.0.0.1 hi ) how I do that in C#.net
You use a Process class: Process myprocess = new Process(); //Program you want to launch execute etc. myprocess.StartInfo.FileName = "c:\\windows\\system32\\net.exe"; myprocess.StartInfo.Arguments = "send 128.0.0.1 hi"; myprocess.Start(); NOTE I am not sure about the location of net. I think it is in system32, but I could be wrong. Hope that helps. Ben
-
I want create programe to send message from my to athor computer same message is show in windows xp(message service) such as (net send 128.0.0.1 hi ) how I do that in C#.net