license-key

What's a good approach for developing a simple serial number generator/verifier?

随声附和 提交于 2019-11-30 04:01:44
I'm working on an app I'd like to sell some day -- sooner rather than later! I'd like to develop a reasonably simple serial number scheme to protect it. A simple number/letter combination not more than 25-30 alphanumeric characters long (think Microsoft product keys) Does not require the user to enter any personal information (like an email address) as part of the verification I've been thinking about this a (very little) bit, and I think public key cryptography is a good place to start. I could generate a string that identifies the license (like SKU + plain ole' integral serial number), hash

Generating Device-Specific Serial Number [duplicate]

折月煮酒 提交于 2019-11-28 21:33:38
This question already has an answer here: Is there a unique Android device ID? 45 answers I would like to be able to generate unique serial numbers for each Android device for use in unlocking an application. How could I do this? EDIT: The reason is I want to revamp a paid application and provide users who have paid for the old version, which will have a different package name, a way to obtain the full version by downloading an unlockable free version of the application. I would push an update to the old version that would generate and display the code that they could enter to turn the Free

CPU serial number

情到浓时终转凉″ 提交于 2019-11-28 09:53:31
How do I obtain the serial number of the CPU in a PC? Based upon 'licensing' tag you have used for your question, you might get better results reading network MAC address . Identifying PC by a MAC address isn't totally unbreakable method for copy protection, still it is sometimes used. I have the ultimate answer for this without any external libraries. Simply type this: wmic bios get serialnumber This will give you the Serial Number on the PCs chassis ;) (found in microsoft's knowledge base) Regards! Remember that most computers these days ship with CPU ID disabled in the BIOS. See CPUID on

Protect wordpress theme with license key validation

我的未来我决定 提交于 2019-11-27 16:55:38
问题 I'm planning to develop some professional Wordpress Themes and would like to protect it using license keys, is it possible? If so, would any one be willing to link to some posts or articles to help me get started? 回答1: You could set up a database on your own server, holding the license key and the licensed url for the theme. Then, set up an admin page for your theme. Within, first register a license settings array. Then implement a hidden settings field on that same page that gets updated

How to change Visual Studio 2017 License Key?

…衆ロ難τιáo~ 提交于 2019-11-27 11:43:12
问题 I want to remove my license key in visual studio 2017. how can i do it? I am trying to change the product key but I cant. 回答1: Well I found two possible solutions. 1. Setting new product key with StorePID.exe (MS Docs). navigate to VS 2017 installation directory ( C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE ) start cmd as admin execute StorePID.exe <your_new_product_key> <MPC> maybe a restart Possible Microsoft Product Codes (MPC) are: 08860 Visual Studio

CPU serial number

喜夏-厌秋 提交于 2019-11-27 03:15:26
问题 How do I obtain the serial number of the CPU in a PC? 回答1: Based upon 'licensing' tag you have used for your question, you might get better results reading network MAC address. Identifying PC by a MAC address isn't totally unbreakable method for copy protection, still it is sometimes used. 回答2: I have the ultimate answer for this without any external libraries. Simply type this: wmic bios get serialnumber This will give you the Serial Number on the PCs chassis ;) (found in microsoft's

What is the difference between encrypting and signing in asymmetric encryption?

主宰稳场 提交于 2019-11-26 19:11:00
What is the difference between encrypting some data vs signing some data (using RSA)? Does it simply reverse the role of the public-private keys? For example, I want to use my private key to generate messages so only I can possibly be the sender. I want my public key to be used to read the messages and I do not care who reads them. I want to be able to encrypt certain information and use it as a product-key for my software. I only care that I am the only one who can generate these. I would like to include my public key in my software to decrypt/read the signature of the key. I do not care who

How can I create a product key for my C# application?

落花浮王杯 提交于 2019-11-26 16:54:46
How can I create a product key for my C# Application? I need to create a product (or license) key that I update annually. Additionally I need to create one for trial versions. Related: How do I best obfuscate my C# product license verification code? Web-based license activation How do you protect your software from illegal distribution? Best activation key software for .NET application? You can do something like create a record which contains the data you want to authenticate to the application. This could include anything you want - e.g. program features to enable, expiry date, name of the

How are software license keys generated?

大兔子大兔子 提交于 2019-11-26 15:34:20
License keys are the defacto-standard as an anti-piracy measure. To be honest, this strikes me as (in)Security Through Obscurity , although I really have no idea how license keys are generated. What is a good (secure) example of license key generation? What cryptographic primitive (if any) are they using? Is it a message digest? If so, what data would they be hashing? What methods do developers employ to make it difficult for crackers to build their own key generators? How are key generators made? For old-school CD keys, it was just a matter of making up an algorithm for which CD keys (which

How can I create a product key for my C# application?

萝らか妹 提交于 2019-11-26 04:58:09
问题 How can I create a product key for my C# Application? I need to create a product (or license) key that I update annually. Additionally I need to create one for trial versions. Related: How do I best obfuscate my C# product license verification code? Web-based license activation How do you protect your software from illegal distribution? Best activation key software for .NET application? 回答1: You can do something like create a record which contains the data you want to authenticate to the