Giter Club home page Giter Club logo

dlm-cpp-example's Introduction

Digital License Manager C++ Example

This is simple example that covers all the required operations to successfully show, activate, validate and deactivate a license key.

Getting started

To get started using this first clone the project:

git clone --recursive https://github.com/ideologix/dlm-cpp-example.git

Then follow the steps:

  1. Install required libcurl library
  2. Set up the API connection in main.cpp with your api details
  3. Set up SampleKey variable in main.cpp with your key
  4. To run the projects, execute the following:
cmake build .
bash dlm_examples

Sample output:

====== Digital License Manager Example ======
Checking License Key
- License is K2CH-GIG1-IGC3-2N1K valid.
Activating token
- License K2CH-GIG1-IGC3-2N1K activated...
- Token a12fdde7d50aee0123d7741c351c55a8c45cc129 SET.
Validating token
- Token a12fdde7d50aee0123d7741c351c55a8c45cc129 is valid...
- License K2CH-GIG1-IGC3-2N1K is valid.
Deactivating token
- Token a12fdde7d50aee0123d7741c351c55a8c45cc129 deactivated...

Requirements

1. libcurl

The libcurl library is required!

2. dlm-cpp

The dlm-cpp class library is required.

Note: The library is already included in this project, so no further action is needed.

3. rapidjson

The rapidjson json parser library is required.

Note: The library is already included in this project, so no further action is needed.

License

Copyright (C) 2024 - Darko Gjorgjijoski
Copyright (C) 2024 - IDEOLOGIX MEDIA DOOEL

Licensed under GPLv2

dlm-cpp-example's People

Contributors

gdarko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.