Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Hardware / NIC MAC address Lock with Agile

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hardware / NIC MAC address Lock with Agile

    Hi all,

    I program using NinjaScript editor and I own Agile professional version.
    As I do not use Visual Studio I could not find the way to licensing my indicators with Agile.
    I need to add a hardware / NIC mac address lock to my indicators to send it compiled and locked to be used only in the specific user machine with specific network mac address or hardware profile.
    I added agile dll's to my indicators.
    Could you give me some help how to do that without using a Visual Studio project and just using Ninjascript editor?

    Thanks in advance,

    Marcos L.


    #2
    Hello superg3, thanks for your note.

    Agile or any third party licensing tool is out of the scope of support I could provide. You can protect your assemblies with agile.net once you have it installed through Tools>Export>NinjaScript addon. Normally the license check is done from the constructor of the NinjaScript object. The procedure would be to check the license, and if the machine ID/license is not valid, set a boolean flag that will prevent the script from running in OnBarUpdate. Ultimately, Visual Studio will be needed for this. We have an example solution for an Addon here, you can use this as a starting point.

    See the download link titled "Download Visual Studio Solution for AddOn Development"
    https://ninjatrader.com/support/help...t_overview.htm

    To compile an indicator you must right-click References>Browse>add a reference to the following .dll: Documents\NinjaTrader 8\bin\Custom\NinjaTrader.Custom.dll

    Kind regards,

    -Chris
    Last edited by NinjaTrader_ChrisL; 10-17-2019, 08:42 AM.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by giulyko00, Today, 12:03 PM
    0 responses
    1 view
    0 likes
    Last Post giulyko00  
    Started by AttiM, 02-14-2024, 05:20 PM
    12 responses
    213 views
    0 likes
    Last Post DrakeiJosh  
    Started by cre8able, 02-11-2023, 05:43 PM
    3 responses
    238 views
    0 likes
    Last Post rhubear
    by rhubear
     
    Started by frslvr, 04-11-2024, 07:26 AM
    8 responses
    117 views
    1 like
    Last Post NinjaTrader_BrandonH  
    Started by stafe, 04-15-2024, 08:34 PM
    10 responses
    47 views
    0 likes
    Last Post stafe
    by stafe
     
    Working...
    X