|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
System IDI'm pretty sure there's some kind of unique ID for everybody's system. Some
kind of Security System ID SSID or something along those lines. I've seen these before and wondered if anybody knew how to retrieve one of these for the system. Or if there was some other unique information I could find on a system? Lance Johnson There is a Windows Product ID that you can see by right-clicking on "My
Computer" and clicking on "Properties". It is under "Registered To" on the "General Tab". This Windows Product ID is unique to each computer and can be found in the registry under HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/ProductId. You can use the Microsoft.Win32.Registry class to access the registry and get this value. So this is in no way tied to the Windows Product code entered when
installing? I'm just wondering what this is based on so if our software is used at a place that has the same product code of windows on multiple machines. Albeit this is illegal, but just need to know if this is truely unique. Lance Johnson "Adam Tatusko, MCSD .NET, MCAD .NET, MCDBA, MCSE, MCSA" <adamtatu***@hotmail.com> wrote in message Show quote news:1105480992.401466.68660@c13g2000cwb.googlegroups.com... > There is a Windows Product ID that you can see by right-clicking on "My > Computer" and clicking on "Properties". It is under "Registered To" on > the "General Tab". This Windows Product ID is unique to each computer > and can be found in the registry under > HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/ProductId. > You can use the Microsoft.Win32.Registry class to access the registry > and get this value. > You could search Microsoft for "product activation". For example, there's a
WMI provider (and maybe direct APIs) that return the unique activation hash that things like XP use. That's machine-specific. -- Show quotePhil Wilson [Microsoft MVP-Windows Installer] Definitive Guide to Windows Installer http://apress.com/book/bookDisplay.html?bID=280 "Lance Johnson" <ljohn***@docs.com> wrote in message news:%23i8EevC%23EHA.2580@TK2MSFTNGP15.phx.gbl... > So this is in no way tied to the Windows Product code entered when > installing? I'm just wondering what this is based on so if our software > is used at a place that has the same product code of windows on multiple > machines. Albeit this is illegal, but just need to know if this is truely > unique. > > Lance Johnson > > > "Adam Tatusko, MCSD .NET, MCAD .NET, MCDBA, MCSE, MCSA" > <adamtatu***@hotmail.com> wrote in message > news:1105480992.401466.68660@c13g2000cwb.googlegroups.com... >> There is a Windows Product ID that you can see by right-clicking on "My >> Computer" and clicking on "Properties". It is under "Registered To" on >> the "General Tab". This Windows Product ID is unique to each computer >> and can be found in the registry under >> HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/ProductId. >> You can use the Microsoft.Win32.Registry class to access the registry >> and get this value. >> > > |
|||||||||||||||||||||||