hardware-id

Generate Activation Key From Hardware ID

孤人 提交于 2019-12-11 01:23:19
问题 I am trying to implement Hardware locked Licensing.I found the following code from codeproject that generates hardware id(Machine ID) This code generates Hardware Key using System; using System.Management; using System.Security.Cryptography; using System.Security; using System.Collections; using System.Text; namespace Security { /// <summary> /// Generates a 16 byte Unique Identification code of a computer /// Example: 4876-8DB5-EE85-69D3-FE52-8CF7-395D-2EA9 /// </summary> public class

How to simulate a Fn+?-KeyPress for notebooks? OR how to switch on 3G?

喜你入骨 提交于 2019-12-10 10:13:58
问题 3G module in a notebook. When I restart that notebook, the 3G module is turned off again. I have to turn it on on every restart. So that's why I thought I need a simple software that simulates the KeyEvent of Fn + - . It's function on the notebook keyboard is to en- or disable th 3G-module. An option would be that I find out the 3G module's hardware-ID and activate it. (Apparently it uses 1 network device and 4 COM-ports in the device manager...) I already discovered Google and found these

How to get harddrive serial number in C or asm without wmi

荒凉一梦 提交于 2019-12-08 13:05:56
问题 how to get harddrive serial number(not the volume # wich change at each reinstall of windows) in C or asm, without wmi (cause wmi required admin right). Any clue would be helpfull cause right now i found nothing on web in C without wmi, in dayss of searching... Thank you. EDIT : For windows system 回答1: Please try my open source tool, DiskId32, which also has the source code at http://www.winsim.com/diskid32/diskid32.html . I only have an Win32 version at this time. Maybe some day I will add a

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

无人久伴 提交于 2019-12-03 07:11:43
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? There are very different ways to get a disk id (serial number? volume id?) or a CPU ID or ... . I think you want to build a fingerprint of the computer. The most comfortable way is to use Windows Management Instrumentation (WMI) and access the DMI . See MSDN for a start. See MSDN here for a hint how to get the mainboard serial number as an example. GetSystemInfo will get you started with the CPU information. Each subsystem generally has

How to identify a Mac System uniquely

纵饮孤独 提交于 2019-12-02 19:42:52
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. So, if you don't care about the new AppStore rules etc... here you go: - (NSString *)getSystemUUID { io_service_t platformExpert = IOServiceGetMatchingService(kIOMasterPortDefault,IOServiceMatching("IOPlatformExpertDevice")); if (!platformExpert) return nil; CFTypeRef serialNumberAsCFString = IORegistryEntryCreateCFProperty(platformExpert,CFSTR

Uniquely identify PC based on software/hardware

南笙酒味 提交于 2019-11-27 18:01:50
问题 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 always generates the same result unless the hardware is substantially changed. This is for a Windows application, using wxWidgets but a Win32 or other option is fine. I was thinking about MAC address but what about laptops which can routinely disable

Generating ID unique to a particular computer [duplicate]

ⅰ亾dé卋堺 提交于 2019-11-27 16:10:26
问题 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 computer A will be fixed and unique to computer A. Everytime the program is executed on computer A, it will continue to generate the same ID and when executed on another computer, it will generate another ID unique to that computer. This is to ensure that

Reliable way of generating unique hardware ID

自闭症网瘾萝莉.ら 提交于 2019-11-26 17:37:57
问题 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 installment, it should not change if hardware configuration is modified in most ways (except changing the motherboard) When hard drive with client software installed is cloned to another computer with identical hardware configuration (or, as similar

How to fast get Hardware-ID in C#?

一个人想着一个人 提交于 2019-11-26 15:05:31
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. HotTester For more details refer to this link The following code will give you CPU ID: namespace required System.Management var mbs = new ManagementObjectSearcher("Select ProcessorId From Win32_processor"); ManagementObjectCollection mbsList = mbs.Get(); string id = ""; foreach (ManagementObject mo in mbsList) { id = mo["ProcessorId"].ToString(); break; } For Hard disk ID and motherboard id details refer this-link To speed up this procedure, make sure

Unique hardware ID in Mac OS X

南笙酒味 提交于 2019-11-26 10:28:50
问题 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 MAC address, hard drive serial, CPU serial, something like that. I\'ve got it covered on Windows, but I haven\'t a clue on Mac. Any idea of what I need to do, or where I can go for information on this would be great! Edit: For anybody else that