

In the other hand we need a form in the main App that ask for the serial number we got from the first APP we just created. Using a function like f(x)= (X+2)*(x+5) depending on MAC Address, that's will change the make address to unique serial number for this machine only. (serial generating ) :create a form contain two text box the first will bring my the Mac Address and the second will bring the serial number by I would like to create code to get the MAC address from the machine and change it to serial number to use for activate my App. :) I can only surmise that is due to Global Warming of the threads. Will somehow become "unstable" or something to that effect. Please BEWARE that I have NO EXPERIENCE and NO EXPERTISE and probably onset of DEMENTIA which may affect my answers! Also, I've been told by an expert, that when you post an image it clutters up the thread and mysteriously, over time, the link to the image You could take a look at the following link and see if it provides some assistance to you or not. How does that stop somebodyįrom installing the app on a bunch of different computers? Then what? If the app is installed on a different computer then it gets a different serial number. So you get an address and change it to some serial number. If that gets replaced it's probably because the computer was replaced.Īlso I don't understand the logic behind your purpose for doing this. The second picture in the image below shows the BIOS hardware I.D. Note that my wireless NICs MAC address is shown while my 10/100 base t ethernet NIC is not since Which of course can be replaced when necessary which changes the MAC address. The first picture in the image below just shows the ones for network interfaces. If you want to avoid numbers and letters that appear similar (O and zero,one and L, B and 8), just remove them from the string "AlphaNum" but be sure that "AlphaNum" is more than 256 characters.įirst there are a number of MAC addresses on a machine normally. Secret Key = BORK-AR89-O4FB-8O0D-9DWG-70SS-YEUH-NI5RĪs with most hash functions, a small change yields a large change

Secret Key = AEB7-7A2T-BD3P-HMZG-Z9N1-DSC3-BJAJ-7WGD If charsProcessed Mod 4 = 0 And ndx < RawHash.Length - 2 Then TheKey &= AlphaNum.Substring(Integer.Parse(RawHash.Substring(ndx, 2), ), 1) "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" & _ĭim Hash() As Byte = sha.ComputeHash(ae.GetBytes(Txt)) Requires "Imports " in the usual spot.įunction MakeTheKey(ByVal Txt As String) As Stringĭim AlphaNum As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" & _ Once you get the MAC Address, or MainBoard serial, or whatever identifying String, something like this will generate a unique serial number.
