Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Script | Licensing class and script with 256bit Encryption

MetaTrader Experts, Indicators, Scripts and Libraries

The Class is initialised with a Filename, a Master Key and whether the file needs to be saved in the common folders or not.

Important Methods:

m_Write(string m_Acc  = "", string m_Server = "") - Adds a a new account to the licensing file...

(we use this to make a simple script to add new accounts to the licence file. directly in Mt5 / Mt4)

And finally there are two public functions available for encrypting and decrypting strings using 256 bit encryption... (if needed by user)

The script will append new account licences to the specified file...

33774