I opened an explorer instance via
System.Diagnostics.Process.Start("explorer.exe", @<path>);
however, I also want to close this exact process at a given time.
I tried this so far:
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.Start("explorer.exe", @<path>);
However, that doesn't seem to work at all. This is what I'm getting when I try it that way:
"Member '' cannot be accessed with an instance reference; qualify it with a type name instead"
I am fairly sure it's something pretty simple, but I can't get around it...
Any help?