1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to uniquely identify a process?

Discussion in 'C#' started by codeunlock, Apr 29, 2007.

  1. codeunlock

    codeunlock New Member

    Apr 18, 2007
    Likes Received:
    Trophy Points:
    I have an application (let's call it Main.exe) and a helper process (call it Update.exe) that periodically updates Main app.

    Update.exe needs to reside in memory, but I need to make sure that EXACTLY ONE process is running.

    Anyway, other "Update.exe" processes may run simultaneously at one time, so I need to check the right one. What's the most reliable method?

Share This Page