Is there something like a unique machine ID that I can retrieve so I can save a file and when opened, know if it was saved on the same machine?

I don't want people using my saved files on any other machine apart from the one it was saved on originally.

What is the best thing to grab which is unique to each machine?

Thanks in advance