How to find ProcessName
Hi All,
How to find Process name..?
Herez my sample code...Please guide me...
System.Diagnostics.Process P=new Process();
P.StartInfo.FileName = StrFileName.ToString();
P.StartInfo.CreateNoWindow = true;
P.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
P.StartInfo.Verb = "print";
P.Start();
//---------------------------
string SS=P.ProcessName.ToString();----Not Working----
//-------------------------
P.Dispose();
As per documentation ProcessName is to Get/Set ProcessName.I did try butnot succeded.Any help would be highly appreciated.
Thanks and Regards,
V
vipin.sasi100 reputationPosted Oct 28, 2003, 11:14 PM EST
madinewalaRank #8,108 · 228 reputationPosted Oct 29, 2003, 5:07 AM EST
vipin.sasi100 reputationPosted Oct 29, 2003, 7:34 PM EST
Mahesh ChandRank #1 · 393.3K reputationPosted Oct 30, 2003, 9:34 AM EST
playboy244612 reputationPosted Feb 5, 2004, 10:35 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts