c# - Kill windows run window (win+r) -


i'm making wpf c# app little fun windows, i'm unable kill run window (win + r). making wrong?

    process process = process.start("explorer.exe", "shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}");     //some kind of program     process.kill(); 

edit: throven error is:

exception thrown: 'system.invalidoperationexception' in system.dll  additional information: cannot process request because process has exited. 


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -