c# - Process.Kill() Method is Missing -
so i've looked around on place , nobody seems have problem. added using system.diagnostics list of references, process exists, not kill method. show in intellisense menu. has start method. no kill method. has getprocessesbyname method no kill method. going on here?
foreach(var x in objserverlist) { process[] proc = process.getprocessesbyname("myproc.exe", x); proc.ki //nope it's missing, not in long list of options process.ki //nope, not there either }
proc array of process it'll have methods relevant arrays. access specific index , have methods of process type:
proc[index].kill() by way second attempt of process.kill not work because class process not have static method of kill
Comments
Post a Comment