Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cli Secure Tool

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

  • JerryA
    replied
    Ok thanks. I'll be in touch tomorrow.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello JerryA,

    The accompanied .cs file tells NinjaTrader which classes to load..

    To confirm, you are able to see your actual logic in the .cs file?
    (This should not be possible)

    If so, I will need to schedule a call with you so that you may show me your custom logic code is in that .cs file and I will have you export the script again to ensure that nothing in the export was changed.

    The .cs file should be there. It should not have your custom logic from OnBarUpdate in it.

    Leave a comment:


  • JerryA
    replied
    Attached is the exported zip file opened. The code can be read in the cs file. The dll files cannot be opened. So if I send this zip file to someone and it's supposed to be protected, they can still open the cs file. See attached
    Attached Files

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello JerryA,

    Is your exported file a dll?

    To confirm, you are able to open the .dll and read the code?

    Are you certain you are not viewing the accompanying .cs file that loads the dll? (Are you able to view the logic in the script?)

    This would indicate the export was possibly:
    • Not exported from NinjaTrader
    • Was not exported as an assembly (even without the obfuscation applied, it would not be possible to read the code of a dll in plain text without de-obfuscating first)
    • Did not have the 'Protect compiled assemblies' checked

    Leave a comment:


  • JerryA
    replied
    If that's true, then why can I still open the file and see the code?

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello JerryA,

    This would not be something you get into CliSecure.

    CliSecure is applied by NinjaTrader when exporting an open source script as a protected assembly.

    If this is what you have done, then the exported script already has the obfuscation applied to the export.

    Leave a comment:


  • JerryA
    replied
    That's exactly what I did. Then I just copied it to desktop for convenience. Now how do I get it into CLi?

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello JerryA,

    The CliSecure is used to protect an export as the export is created from NinjaTrader when exporting an open source script as an assembly.

    Are you able to do this?


    To export your script do the following:
    1. Click File -> Utilities -> Export NinjaScript
    2. Select the radio button option Export compiled assembly of selected source files
    3. If you have Agile.NET installed and would like to use this, check the option for Protect compiled assemblies
    4. Enter a unique name for the file in the value for 'File name:'
    5. Select the strategy from the objects list on the left -> click the right facing arrow ">" to add the strategy to the export
    6. Click the 'Export' button -> click 'yes' to add any referenced indicators to the export -> click OK to clear the export location message


    By default your exported file will be in the following location:
    • (My) Documents/NinjaTrader 7/bin/Custom/ExportNinjaScript/<export_file_name.zip>


    Below is a publicly available link to the help guide on Exporting NinjaScripts.
    http://www.ninjatrader.com/support/h...nt7/export.htm

    Leave a comment:


  • JerryA
    replied
    I downloaded the assembly from Ninja per the instructions in the User Guide. When I tried to upload it to CLi, it didn't see the file. I had pasted the assembly file on my desktop.
    And no, it never asked me for a license key. It just opens up when I hit the icon.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello JerryA,

    When you mention "Can't upload the Ninja file to the tool. The tool doesn't see the zip file." can you further detail what this means?

    Previously, it didn't seem that you had launched CliSecure..

    In my experience, the CliSecure program will not open if no license is inserted.
    If this is not working correctly, I would recommend reaching out to the Agile.NET team for support.

    However, if you were able to open the program this should be enough.

    Are you getting an error when applying protection to an export assembly in NinjaTrader?

    Leave a comment:


  • JerryA
    replied
    Please read my original post. It never asked for a license. I hit "RUN" to load it - what else am I supposed to do.

    PS I never said it was a dll - I said I loaded a sample dll into the workspace to see if it would run.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello JerryA,

    Looks like you found it.

    This is not a dll, this is a stand alone application.

    Once this is installed and the license is inserted into this application, NinjaTrader will automatically be able to use this to add obfuscation to scripts as they are exported.

    Leave a comment:


  • JerryA
    replied
    Yes, I have installed their program.
    Attached Files
    Last edited by JerryA; 02-12-2018, 10:13 AM.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello JerryA,

    CliSecure is a full program.

    To install it you must run the installer executable.

    Then you can launch it from the start menu (or from the link on the desktop it creates).

    It is not a dll.

    May I confirm you have obtained the download of the CliSecure installer from Agile.NET?

    Below is a publicly available link to the help guide.
    https://ninjatrader.com/support/help...l_security.htm

    Leave a comment:


  • JerryA
    replied
    When you say "run one time" - how do I do that? There's no "run" button. I put a .dll file into the upload box and clicked on the build button. Message was that it was successful but never asked for the license. I'll read through the thread you posted.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by AlexEro, Today, 12:29 AM
0 responses
3 views
0 likes
Last Post AlexEro
by AlexEro
 
Started by Vincere, 01-20-2019, 08:42 AM
13 responses
330 views
0 likes
Last Post AlexEro
by AlexEro
 
Started by bltdavid, 12-01-2022, 07:59 PM
10 responses
37 views
0 likes
Last Post jeronymite  
Started by StealthM93, Yesterday, 11:09 PM
0 responses
1 view
0 likes
Last Post StealthM93  
Started by digibob, 11-22-2020, 10:59 PM
3 responses
110 views
0 likes
Last Post FutureDragon  
Working...
X