An open API service indexing awesome lists of open source software.

https://github.com/wang-bin/appkey

license key generator and validator used in libmdk
https://github.com/wang-bin/appkey

Last synced: 10 months ago
JSON representation

license key generator and validator used in libmdk

Awesome Lists containing this project

README

          

# appkey

license key generator and validator used in [libmdk](https://github.com/wang-bin/mdk-sdk)

### Windows

appid is "ProductName/CompanyName" from rc file. Rc file can be generated by visual studio, and qmake for qt apps(`QMAKE_TARGET_PRODUCT`/`QMAKE_TARGET_COMPANY`).
Rc can be encoded in utf8(default by qtcreator) if there are non ascii chars, and add `#pragma code_page(65001)`in rc (recommended for visual studio), or add rc compiler option`/c 65001``

Generate a key for windows:

`keygen -gen -verify -appid "$(echo -n ProductName/CompanyName| iconv -t utf8)"`

If rc is not encoded in utf8(may support more words in appid), must call `setCodePage(cp)`