MultiCharts Study DRM Server: Difference between revisions
From MultiCharts
no edit summary
Abeloglazova (talk | contribs) No edit summary |
No edit summary |
||
(19 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
To integrate licensing system into your studies the following steps are required: | To integrate licensing system into your studies the following steps are required: | ||
# Register with MultiCharts LLC as a developer; | # Register with MultiCharts LLC as a developer; | ||
Line 12: | Line 6: | ||
# Distribute the licenses among the users. | # Distribute the licenses among the users. | ||
= | <div style="background-color: #E3FBE5;">'''NOTE:''' In case a study is used on several computers at the same time, the last user disconnects all connected users in 5 minutes.</div> | ||
== Step 1: Register as a Developer == | |||
To do this | To do this send an e-mail to '''support@multicharts.com''' <br> | ||
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. | 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 ''' | After you receive your password you should log in to '''https://mcauth1.com/MCAIServer/''' server using your login and password. <br> | ||
Then, go to the '''Study Name''' section. | Then, go to the '''Study Name''' section. | ||
Line 45: | Line 37: | ||
* Default license period. | * Default license period. | ||
== Step 3: Add a DRM Call Code to Your Study == | |||
===In MultiCharts (PowerLanguage)=== | |||
Add the [[VerifyLicense]] function to your study. For example: | |||
<syntaxhighlight>VerifyLicense("Moving Average", "Adam.Smith@gmail.com");</syntaxhighlight> | |||
===In MultiCharts .NET=== | |||
Add the VerifyLicense function call to your study in constructor and set the registered study name and your login as parameters. | Add the VerifyLicense function call to your study in constructor and set the registered study name and your login as parameters. | ||
Line 51: | Line 51: | ||
For example: | For example: | ||
<syntaxhighlight>public MovingAverageIndiсator(object _ctx) : base(_ctx){ | |||
VerifyLicense("Moving Average", "Adam.Smith@gmail.com"); | |||
}</syntaxhighlight> | |||
Study name and e-mail are not case-sensitive. | Study name and e-mail are not case-sensitive. | ||
== Step 4: Export a Protected Study == | |||
===In MultiCharts (PowerLanguage)=== | |||
After the study is connected to DRM, it should be exported to a SEF (read-only) file: [[Importing_and_Exporting_Studies#Exporting_Studies_in_SEF_.28Read-only.29_Format|'''see how''']]. SEF study can be distributed to the users. | |||
===In MultiCharts .NET=== | |||
After the study is connected to DRM, it should be exported to a PLN file with protection. <br> | After the study is connected to DRM, it should be exported to a PLN file with protection. <br> | ||
Line 73: | Line 79: | ||
Exported study can be distributed to the users. | Exported study can be distributed to the users. | ||
<div style="background-color: #E3FBE5;">'''Note:''' | <div style="background-color: #E3FBE5;">'''Note:''' | ||
Line 79: | Line 84: | ||
# You can protect the assembly using the built-in obfuscation tool or configure the application to use any other tool. The following obfuscators do not need additional configuration in PowerLanguage Editor: NET Reactor, Agile DOT NET, dotfuscator and Cli Secure.</div> <br> | # You can protect the assembly using the built-in obfuscation tool or configure the application to use any other tool. The following obfuscators do not need additional configuration in PowerLanguage Editor: NET Reactor, Agile DOT NET, dotfuscator and Cli Secure.</div> <br> | ||
== Step 5: Managing Licenses == | |||
Go to the Licenses section to create a key. | Go to the Licenses section to create a key. | ||
Line 100: | Line 105: | ||
After clicking the '''OK''' button the license is created and the key can be sent to the user. | After clicking the '''OK''' button the license is created and the key can be sent to the user. | ||
[[Category:Help]] |