Pottery Posted May 12, 2010 Posted May 12, 2010 Hey, does anyone know if it would be possible to get a PC's HWID codes through AutoIt? Thanks in advance.
IchBistTod Posted May 12, 2010 Posted May 12, 2010 (edited) I use this simple code to generate a HWID #include <string.au3> MsgBox(64, "", _HWID()) 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 Edited May 12, 2010 by IchBistTod [center][/center][center]=][u][/u][/center][center][/center]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now