در اینجا نمونه کامل با ضریب امنیتی که شما می خواهید وجود داره :
حتما به این موارد توجه کنید ، چون دقیقا درست میگه :
موفق باشیدSuggestions
I have a few suggestions in this regard:
- Generate a key from only the Motherboard, Processor and BIOS since the user normally doesn't change these parts.
- Don't use MAC ID, Graphics Card ID AND Disk ID since it's very common to change these devices.
- It takes significant time to get IDs of devices. So make the finger print generating function static and save it in a static variable so that it generates the key only once in the whole application.