[RESOLVED] [2005] Which information is useful for registration key?
Hi;
I have written a software and I want to put a registration key checker... Which information is better to be taken for generating registration key? For example user name of windows is the info that I use and program generates a code from user name. But I think it is not good when user formats the hard disc... Are there better sources? (Like processor serial number, hardware serial number etc...)
Thanks for any kind of help...
Re: [2005] Which information is useful for registration key?
I have found what I was looking for:
vb Code:
Imports System.Management
Dim physicalMedia As New Management.ManagementClass("Win32_PhysicalMedia")
For Each physicalMedium As Management.ManagementObject In physicalMedia.GetInstances()
MessageBox.Show("Serial Number: " & CStr(physicalMedium("SerialNumber")))
Next physicalMedium
I thought about this code what is it meaning etc... Now I am facing this situation (sorry about my english):
1- This code gives 3 serial numbers BUT 2 of them are empty ("") and one of them has the serial number. 384213....
2- I have 2 hard discs ( and a usb memory) so I need the serial number of the hard disc where windows is installed. Luckily the result which I get the serial number is the serial number of the hdd of windows. But it may not be like this in another pc so I have to be sure that I am taking to serial number of the hdd of windows and NOT the serial number of other hdd. How can I be?
Re: [2005] Which information is useful for registration key?
you could use the users name (not their username)
Re: [2005] Which information is useful for registration key?
sorry what do you mean with that? Actually I want an information from OEM. Hardware... So that after format user can still use this registration key. Is it possible to take a serial number of processor?
Re: [2005] Which information is useful for registration key?
Re: [2005] Which information is useful for registration key?
thanks a lot Im looking...
Re: [RESOLVED] [2005] Which information is useful for registration key?
how did it work for you?
i've just tried it but i can't get the cpu ID
Re: [RESOLVED] [2005] Which information is useful for registration key?
ignore that last comment. got it now