5
Answers

How to find ProcessName

vipin.sasi

vipin.sasi

21y
2.7k
1
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
Answers (5)