Search code examples
c++windowsdrmcopy-protection

Restrict functionality to a certain computer


I have a program that is using a configuration file.

I would like to tie the configuration file to the PC, so copying the file on another PC with the same configuration won't work.

I know that Windows Activation Mecanism is monitoring hardware to detect changes and that it can tolerates some minor changes to the hardware.

Is there any library that can help me doing that?

My other option is to use WMI to get Hardware configuration and to program my own tolerance mecanism.

Thanks a lot,

Nicolas


Solution

  • Microsoft Software Licensing and Protection Services has functionality to bind a license to hardware. It might be worth looking into. Here's a blog posting that might be of interest to you as well.