Re: Finding Windows Product Key in MFC
- From: "Gabriel Topala" <gtopala@xxxxxxxxxxx>
- Date: Tue, 4 Apr 2006 14:29:19 -0400
CD Key is stored in a Windows Registry key
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion called
DigitalProductId. You need to decode that key.
--
Thanks,
Gabriel Topala
www.gtopala.com
"Tom Serface" <tserface@xxxxxxx> wrote in message
news:uIhdVkAWGHA.5808@xxxxxxxxxxxxxxxxxxxxxxx
I was thinking this too, but I didn't know for sure. It would seem like a
huge security gap if the CD key was easily accessible. It might be buried
in somewhere though since Windows does use it for activation and activation
can happen up to 60 days after installation I think.
Tom
"Vipin [MVP]" <Vipin@xxxxxxxxxx> wrote in message
news:uBP9iaAWGHA.4360@xxxxxxxxxxxxxxxxxxxxxxx
I doubt the product key would be stored somewhere.
I think the scope of the windows product key is limited
to the windows installer.It checks the key, if it is right,
it allows to proceed, else not.
--
Vipin Aravind
http://www.explorewindows.com
"James Simpson" <JamesSimpson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:64F9028A-1F7C-4A86-B706-1732D10077E2@xxxxxxxxxxxxxxxx
Hello,
Currently I am writing an application that requires querying Windows to
see what the Windows product key is (that is the 25 character alpha
numeric
product key, NOT the product id). Currently, I have done research at
many of
the major development sites (CodeProject,CodeGuru) and googled it
without any
luck. Does anyone know how to retrieve the Windows product key via
MFC/WIN32?
Sincerely,
James Simpson
President
Straightway Technologies Inc.
.
- References:
- Re: Finding Windows Product Key in MFC
- From: Vipin [MVP]
- Re: Finding Windows Product Key in MFC
- From: Tom Serface
- Re: Finding Windows Product Key in MFC
- Prev by Date: Re: Sharing memory between computers
- Next by Date: Re: MFC vs Win32 programming
- Previous by thread: Re: Finding Windows Product Key in MFC
- Next by thread: Re: Finding Windows Product Key in MFC
- Index(es):
Relevant Pages
|