MultiCharts Study DRM Server

From MultiCharts
Revision as of 16:24, 13 May 2015 by BAV (talk | contribs) (Created page with "== General Description of the Protection Mechanism == When protecting the study the source code is exported to an assembly (DLL), which is protected by any NET obfuscator. MC...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

General Description of the Protection Mechanism

When protecting the study the source code is exported to an assembly (DLL), which is protected by any NET obfuscator. MC .NET Special Edition features the Confuser Ex obfuscator. User can also use any other obfuscator. When importing the protected study a class inherited from the encrypted assembly is created. The encrypted assembly is connected via references.

In case the Study is used on several computers at the same time, the last user disconnects all connected users in 5 minutes.

To integrate licensing system into your studies the following steps are required:

  1. Register with MultiCharts LLC as a developer;
  2. Select a name for the Study;
  3. Add a DRM call code to your Study;
  4. Create a protected Study;
  5. Distribute the licenses among the users.


Step by Step Instructions

Step 1: Register with MultiCharts LLC as a Developer

To do this:

Send an e-mail to support@multicharts.com

Your e-mail address will be used as your login and the password for the DRM system will be sent to you via e-mail.

Step 2: Select a Name for the Study

After you receive your password you should log in to http://lic.mcauth1.com/ server using your login and password.
Then, go to the Study Name section.

1.png

Initially this section is empty. You should register the name which will be used for the study identification.
To do this, click the New item button:

2.png


Then, fill in all the fields:

3.png

The following information should be indicated:

  • Name - unique name, for example, Moving Average;
  • Trial period (in days, set to 0 for no trial period);
  • Default license period.

Step 3: Add a DRM Call Code to Your Study

Add the VerifyLicense function call to your study in constructor and set the registered study name and your login as parameters.

For example: public MovingAverageIndiсator(object _ctx) : base(_ctx){ VerifyLicense("Moving Average", "Adam.Smith@gmail.com"); }

Study name and e-mail are not case-sensitive.

Step 4: Create a Protected Study

Step 5: Managing Licenses