As someone already stated, it's probably not a good idea to base your registration scheme off of hardware. Instead I would look for information that is likely to be unique for a user but will survive some computer upgrades. Take a hash value of this information and then use it to generate the key.