Vote count:
0
I am programming for a software company . Our company has an Application called (common component command) ccc.exe . This application is for Sending command to Microsoft IIS server .
Now , and during my program , I want to detect running this process (ccc.exe) .
After this I use this method :
private bool IsProcessRunning(string processName)
{
Process[] pname = Process.GetProcessesByName(processName);
if (pname.Length == 0)
return false;
else
return true;
}
But unfortunately their computers running a System process Called CCC.EXE (It is from ATI Technologies) .
It is running on start up . And if I use this method , It will return a wrong value , cause they have the same name .
So , How can I recognize CCC.EXE (system file) from ccc.exe *32 ?!
asked 26 secs ago
Aucun commentaire:
Enregistrer un commentaire