1. generate HWID (
- you can build your own function)
Code:
func _HWID()
$osdrive = StringLeft(@SystemDir, 3)
$original = "0"&@CPUArch & @KBLayout & DriveGetSerial("C:\") & StringUpper(DriveGetType($osdrive)) & DriveSpaceTotal ($osdrive)
$string2 = StringMid($original, Round(StringLen($original)/2), Round(StringLen($original)/2))
$string2_mod = _StringToHex(_StringReverse($string2))
$original = _StringEncrypt(1, $original, $string2_mod, 4)
Return $original
EndFunc
2. check if database (or a simple file on the server) contains the HWID
3. true => access granted | false => access denied
(4. this is not secure! It's easy to decompile AutoIt. And change or delete this protection.)