"SenthilVel" <se******************@misyshealthcare.com> wrote in message
news:OB**************@tk2msftngp13.phx.gbl...
how to send message using net send in c#??
using System.Diagnostics;
Process objProcess = new Process();
objProcess.StartInfo.FileName = "cmd.exe";
objProcess.StartInfo.Arguments = "/C NET SEND "; // amend this for the
remainder of the NET SEND command
objProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
objProcess.StartInfo.CreateNoWindow = true;
objProcess.Start();
objProcess.WaitForExit();