How to uniquely identify a process?

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

  1. codeunlock

    codeunlock New Member

    Joined:
    Apr 18, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice