Windows Product ID

hbeer444

Brian Rypstra
Local time
Yesterday, 17:18
Joined
Sep 3, 2009
Messages
15
Is there a VBA code snipett to aquire the Windows Product ID from the operating system in which VBA code is currently running in?

In licensing my simple distributed application (low security), my plan is as follows:

After trial period expires, user is to email me with their name & company & version of Windows & Windows Product ID that they can visually retrieve from their Conttrol panel. I would give them a license code, which is a mathematically alterred version of their Windows Product ID.

When they enter the license code into a msgbox, the VBA code applies the inverse of the mathematical alterration and checks if it matches the Windows Product ID & if so, allows the user to continue.

This would be a simple but effective low-security licensing that will allow them to install the program license on the current windows software only. They would have to re-aquire a different license for each time it is installed on a different computer, or after a full re-installation of windows.

Extremely simplified example:
Windows Product ID=A2
license code = B3 (each digit +1)
convert back to Windows Product ID using (each digit -1)

THANK VERY MUCH IN ADVANCE!!!
 
There probably is because I know of a tool that you can run to get keys from your system. But, if I was a smart person and thinking of getting your software I would have to decline because sending your key to anyone is taking a big chance. If somehow it gets out then Microsoft will invalidate the key and the person will have to buy another copy of Windows.

I think you should come up with a different way.
 
I think you should come up with a different way.


Wow - I never thought of that - good idea - maybe I
ll work off the drive vol
 
Hi

why don't you have the calculation carried out locally like a request key that could be sent you and have a routine waiting to receive the validation key?

Your next task would be to decide how to store the keys that pass through the routines. You could store them as a custom property or a reg key. Either way, you would need another routine to check for the keys on startup to prevent continual requests if the product is licensed.


Nidge
 

Users who are viewing this thread

Back
Top Bottom