Questions tagged [hardware-id]

64 questions
50
votes
6 answers

How to fast get Hardware-ID in C#?

I need in my program to tie a license to a hardware ID. I tried use WMI, but it still slow. I need, for example, CPU, HDD, and motherboard info.
guaike
  • 2,471
  • 9
  • 31
  • 42
36
votes
4 answers

Reliable way of generating unique hardware ID

Question: I have to come up with unique ID for each networked client, such that: it (ID) should persist once client software is installed on target computer, and should continue to persist if software is re-installed on same computer and same OS…
mr.b
  • 4,932
  • 11
  • 38
  • 55
32
votes
9 answers

Unique hardware ID in Mac OS X

Mac OS X development is a fairly new animal for me, and I'm in the process of porting over some software. For software licensing and registration I need to be able to generate some kind of hardware ID. It doesn't have to be anything fancy; Ethernet…
Gerald
  • 23,011
  • 10
  • 73
  • 102
15
votes
3 answers

Get Computer Unique ID from PHP

I've created an application using PHP and I'm going to sell it to my local market. I will personally be going to their locations to install/configure Apache & MySQL as well as installing my own code. I would like a security system so that if anyone…
Tito
  • 663
  • 1
  • 8
  • 14
12
votes
7 answers

Generating ID unique to a particular computer

Possible Duplicate: Reliable way of generating unique hardware ID Am trying to generate an ID that will be unique to a particular computer. The ID will not be generated randomly. It will be calculation based, such that the ID generated for…
Dami Lola
  • 209
  • 1
  • 3
  • 8
11
votes
7 answers

Uniquely identify PC based on software/hardware

For a requirement to generate per-PC license keys, I need some code which will return a stable and (near) unique key on any PC. It doesn't have to be guaranteed unique, but close. It does need to be reasonably stable though, so that a given PC…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
9
votes
2 answers

How to identify a Mac System uniquely

I want to identify my mac system uniquely via code. I find the Hardware UUID in my About this Mac. So how to programmatically access the unique uuid from MAc OS X. Kindly provide me if there are any alternative suggestion for my problem.
Kakey
  • 3,936
  • 5
  • 29
  • 45
7
votes
2 answers

Getting the motherboard's serial number

I want to bind a program to a specific computer, and for that I want to use the serial number of the motherboard as unique identifier. Although I could find some examples for C# and Java, I couldn't find anything reliable for C++ (I read WMI can…
AlexAngc
  • 311
  • 2
  • 3
  • 11
7
votes
3 answers

How to get hardware information in Windows using C++?

How to get hardware information (for example cpuId, biosId, diskId, baseId and videoId) in c++? Can anyone give me an example visual studio project for this?
M.Rezaei
  • 992
  • 3
  • 11
  • 28
6
votes
4 answers

Translate Apple's model identifiers (MacBookPro5,1) to user-friendly names?

Does Mac OS X have API that translates Apple's model identifiers (the kind found in plists and APIs, e.g., "MacBookPro5,1") to user-friendly marketing names of these devices ("Unibody MacBook Pro Late 2008")? I'm looking for more future-proof…
Kornel
  • 97,764
  • 37
  • 219
  • 309
4
votes
1 answer

HWID locking a PHP page?

Currently I sell a program, that accesses my webpage. The program is HWID (Hard Ware ID) locked, and the only reason I use the program to access the webpage instead of direct access via a webbrowser, is so that I can use HWID…
Rob
  • 7,980
  • 30
  • 75
  • 115
3
votes
1 answer

Python per-seat license protection

I would like to create a per-seat licensevalidator for my python application. The python code is compiled. The goal is to prevent the costumer from sharing the application across his company. Basic method Create a hash-string of the system…
Friedrich
  • 645
  • 11
  • 26
3
votes
2 answers

List of ios device name

i have used this function in my app for return the model name of my device and work very well, but how i can find a complete list of the returned value for this function (es for iphone3,3gs,4s,ipad,ipad2,ipod ecc ecc size_t size; …
AleMal
  • 1,977
  • 6
  • 24
  • 49
3
votes
2 answers

How to find motherboard info using CPUID?

I am trying to develop a C function for getting some motherboard info (name, id, etc.) but I can't find where these info are stored. I had a look at CPUID but I could't find anything related to the motherboard there (although lots of info regarding…
limp
  • 889
  • 2
  • 14
  • 22
3
votes
3 answers

Getting CPU ID on virtual machine

I am trying to use this code: public string GetCPUId() { string cpuInfo = String.Empty; string temp = String.Empty; ManagementClass mc = new ManagementClass("Win32_Processor"); ManagementObjectCollection moc = mc.GetInstances(); …
heresma
  • 293
  • 2
  • 4
  • 14
1
2 3 4 5