The known and proven way to do that: a hardware USB-dongle.

If you want to do it in software let them tell you the MAC-address of their PC or their Windows license code and check that hardcoded or put it encrypted in a parameter file you send them.

Kees