title: Get unique ID for a running process
body: <p>I'm currently looking to replace a system I've previously implemented that generates a unique id that is valid from when the process opens until when it closes, a random unique ID is generated using a mix of system time and other variables each time the application is started.</p>
  
  <p>What I'm looking to do is generate a unique identifier for the process itself, the Process ID isn't something I can use as it's possible that it's reused </p>
  
  <p>Does anyone know of a way to generate a unique id for a single process based on the process itself?</p>