Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CliSecure Full Version + Ninja

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

    CliSecure Full Version + Ninja

    All

    Well - I went ahead and purchased the full version of CliSecure so that I can properly secure all of my coding assets.

    I can't find any docs anywhere on fully protecting the code with Ninja and the full CliSecure and I am looking for advice.

    Here is what I have tried.

    Test 1
    - Create an assembly from Ninja without the "Protect Compiled Assemblies" option checked.
    - Import this assembly into Ninja Trader on a second PC.
    Results : Indicators worked fine

    Test 2
    - obfuscated the DLLs in the assembly from step 1
    - put the obfuscated DLL back into the zip file
    Results :
    Log:
    03/05/2011 14:10:59|0|4|Unable to retrieve type infos from assembly 'JigsawBeta1_1': System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    at System.Reflection.Module._GetTypesInternal(StackCr awlMark& stackMark)
    at System.Reflection.Assembly.GetTypes()
    at NinjaTrader.Cbi.AssemblyDictionary.GetTypes(Type superClass)
    03/05/2011 14:13:17|1|2|Kinetick: Primary connection=Disconnected, Price feed=Disconnected
    03/05/2011 14:13:26|1|4|Verifying license at primary server...
    03/05/2011 14:13:29|2|4|Session Break (Version 7.0.1000.4)
    03/05/2011 14:13:29|1|4|Current license: Type=SimulationOnly State=Verified StartDate=01/01/2005 EndDate=01/12/2099 Collective2 Dtn ESignal External Provider2 Provider3 Provider7 Replay Simulator Yahoo Gain Hosted InteractiveBrokers MBTrading Patsystems Provider1 Provider4 Provider8 Provider9 Tda TrackData TradingTechnologies AdvancedStrategyManagement AutomatedTrading BasicEntry Charting SuperDom
    03/05/2011 14:13:29|3|4|Failed load vendor assembly 'C:\Users\hp\Documents\NinjaTrader 7\bin\Custom\JigsawBeta1_1.dll': Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    03/05/2011 14:13:29|1|4|Vendor assembly 'JTConsolidatedTape' version='1.0.0.0' loaded.
    03/05/2011 14:13:29|1|4|Vendor assembly 'SummaryTape' version='1.0.0.0' loaded.
    03/05/2011 14:13:32|0|4|Unable to retrieve type infos from assembly 'JigsawBeta1_1': System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    at System.Reflection.Module._GetTypesInternal(StackCr awlMark& stackMark)
    at System.Reflection.Assembly.GetTypes()
    at NinjaTrader.Cbi.AssemblyDictionary.GetTypes(Type superClass)
    03/05/2011 14:13:32|0|4|Unable to retrieve type infos from assembly 'JigsawBeta1_1': System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    at System.Reflection.Module._GetTypesInternal(StackCr awlMark& stackMark)
    at System.Reflection.Assembly.GetTypes()
    at NinjaTrader.Cbi.AssemblyDictionary.GetTypes(Type superClass)

    Trace
    2011-05-03 14:23:23:115 Loading C:\Users\hp\Documents\NinjaTrader 7\bin\Custom\NinjaTrader.Vendor.dll...
    2011-05-03 14:23:23:121 Loading 3rd party C:\Users\hp\Documents\NinjaTrader 7\bin\Custom\JigsawBeta1_1.dll...
    2011-05-03 14:23:23:153 ERROR: Failed load vendor assembly 'C:\Users\hp\Documents\NinjaTrader 7\bin\Custom\JigsawBeta1_1.dll': Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    My problem is this:
    - I have code that is way more than a simple indicator. Free CliSecure gives far too much away.
    - I now have the full CliSecure but zero guidelines on how to use it with Ninja.

    Anyone else done this?

    Cheers

    Pete
    Last edited by DionysusToast; 05-03-2011, 01:26 AM.

    #2
    DionysusToast, as we discussed in your other thread on this the full obfuscation (including signatures and properties) is currently not supported unfortunately, however we're adding your suggestion under tracking # 930 in our system.

    Thanks,
    BertrandNinjaTrader Customer Service

    Comment


      #3
      BerTrand,
      In this regard I would like to add the following.

      I own a copy of .Net Reactor. When I try to import an indicator obfuscated with the same, NT is throwing an error (see attached pic).

      Is third party obfuscator supported, if so pls do also add thrid party obfuscator in the list of future support.

      regards..

      pls do note:
      though i didnt face any issues for testing etc pls import the indicator on a standby pc if possible.

      I manually deleted the dll and the reference and recompiled an indicator, and everything was back to normal.
      Attached Files

      Comment


        #4
        Thanks for the suggestion bukkan - you're of course free to work / experiment with your own obfuscation techniques as you desired, however we would not be able to provide support in this area then.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,404 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by Shai Samuel, 07-02-2022, 02:46 PM
        4 responses
        95 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by DJ888, Yesterday, 10:57 PM
        0 responses
        7 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        159 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Yesterday, 09:29 PM
        0 responses
        8 views
        0 likes
        Last Post Belfortbucks  
        Working...
        X