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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -