I want to get from any Unix-like system (if this is possible) a unique id that will be persistent every time my application runs in the same machine. If it is possible, I wa
I don't think it's possible.
The closest you can get is to create a very long random string (like MS do with GUIDs) and store it somewhere on your system.