![]() ![]() See this MS article with the current process to get a unique ID of a computer: ManagementObject dsk = new = dsk.ToString() My expirience : () + volumeSerial string volumeSerial = "" Because some OS just changeing it every day. What you have to consider is how many potential customers won't be or aren't willing to pay because you made it so complicated to use your program. Maybe you can lock them out but that doesn't mean they're going to buy your software they just won't use it anymore. (For example, domain and user names can't be easily spoofed by enterprise customers, because their PCs are running in a larger environment implementing policies, etc.) Just forget about the others until you have that. (This will likely happen quite often.)Īs a first step, make it easy: Use something simple which is not easy to spoof in your target group. However, if your main goal is to lock out unauthorised people, you won't sell anything because no one will want to use your software if it is hard to install, register or to move from one PC to another, although the last consideration is part and parcel of per-machine licensing. If you just need some unique identifier that is not as hard to obtain, you could take the MAC address (unreliable), the OS serial number or the domain and user's name, but all of them are susceptible to forgery. (Hardware changes will most likely require regenerating the ID at some point.) If you need something like that, you should investigate using an authentication USB Dongle which you can send to your customers. There is not much you can take from a PC and consider it as uniqueness over its whole lifetime. In the case of a unique hardware ID, just think about virtual machines and you'll see that it is possible to spoof anything so someone can tamper with your software. This is because if someone really wants to use your software, (s)he will find a way to break your protection, given enough time and skill. If you want/intend to use it for a copy-protection mechanism, then use something simple. would be the first hardware device.If you need a unique ID, you must first decide on your definition of unique. However, most think of hardware as something containing a mechanical component, which means the Antikythera mechanism constructed between 200 and 60 B.C. If you think of hardware as any device with moving parts, hardware could be said to be first created as early as 2700 B.C. However, more sophisticated headphones (e.g., wireless headphones) require instructions for connecting wirelessly to a computer. For example, a basic pair of headphones require no software or instructions because they're only passing the audio from a computer to your ears. Hardware that does not require software are basic devices. Most hardware cannot run without software or some form of instructions programmed into the firmware.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |