Method process.exists
Overload
Returns true if a process of the specified program is running.
public static bool exists(string processName, bool? fullPath = false, bool ofThisSession = false)
Parameters
|
processName (string)
Process executable file name, like |
|
fullPath (bool?)
processName is full path.
If |
|
ofThisSession (bool)
Get processes only of this user session. |
Returns
|
bool
Array containing zero or more elements. |
Exceptions
ArgumentException
|