Question received:
How to start, stop, and suspend a process from c sharp client.Solution:
Start processSystem.Diagnostics.Process processObject =
Process.Start(<FullPathOfProcess>,<ProcessArguments>)
Stop process
System.Diagnostics.Process.Kill(<processObject>)
Suspend process
Thread.Sleep(<TimeInMilliseconds>)
[Note:] Add necessary dlls for above classes mentioned while doing for the client.
No comments:
Post a Comment