-
October 21st, 2009, 04:05 PM
#1
Hardware Binding
Hi guys, I'm wondering if anyone can help me with a bit of an odd request.
Is there any way to bind a C++ application to the hardware; in other words, I want my application to only run on say Dell PCs or Toshiba Laptops etc.
I have concluded that there must be a way to do this because the recovery disks that come with Toshiba laptops can tell they aren't being used on a Toshiba System and refuse to run.
I have been trying to find information on this, I have searched google and google groups and even ventured into MSDN although the code MS suggested didn't work, it read info from the Registry which isn't reliable enough.
I have found various articles mentioning Windows Management Instrumentation but I would like to refrain from using it - although it does raise another question in my mind, namely how does WMI populate the information on the hardware, if it gathers information from the hardware itself then surely there must be a way to retrieve this information without using WMI as a middle man.
-
October 22nd, 2009, 09:50 AM
#2
Re: Hardware Binding
Information on how to read SMBIOS data - http://www.codeguru.com/forum/showthread.php?t=459146
If you're on Vista or higher, you'll have to use GetSystemFirmwareTable() instead of accessing \Device\PhysicalMemory.
SMBIOS info: http://www.dmtf.org/standards/smbios/
gg
Last edited by Codeplug; October 22nd, 2009 at 09:59 AM.
Reason: more info added
-
October 23rd, 2009, 05:52 AM
#3
Re: Hardware Binding
You will need to detect the brand specific hardware and validate it and then take decision of continuing further.
Regards,
Ramkrishna Pawar
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|