This conversation is getting weird.A developer want to prevent users from installing app not in target device and a modder want to bypass that by creating a patch.How ironic...
I am also a developer, it was a simple note/info.
It's better to check multiple things like device UID, screen resolution, a couple of device specific files from Z:\resource\ etc.
Else it's easy to crack the protection.
e.g. via overwriting one register, disabling a compare command etc.