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

Ninjascript to check Ninjatrader 8 version (build number)

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

    Ninjascript to check Ninjatrader 8 version (build number)

    Is there a way to check the version of Ninjatrader via C#/ninjascript?

    #2
    Hello WHICKED,

    Thanks for your post.

    There is no documented/supported means to do so, and I have not found any undocumented way to do this using intellisense/intelliprompt.

    Let us know if you have any questions.
    JimNinjaTrader Customer Service

    Comment


      #3
      I use the following:
      Code:
      private string NTBin64ExeFile = Globals.InstallDir + @"bin64\NinjaTrader.exe";
      private string NTVersion = FileVersionInfo.GetVersionInfo(NTBin64ExeFile).FileVersion;
      Hope that helps.

      Thanks.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by vpatanka, Today, 09:25 AM
      0 responses
      43 views
      0 likes
      Last Post vpatanka  
      Started by Halmix, Today, 07:12 AM
      0 responses
      32 views
      0 likes
      Last Post Halmix
      by Halmix
       
      Started by Bobin, Today, 06:39 AM
      0 responses
      33 views
      0 likes
      Last Post Bobin
      by Bobin
       
      Started by KirkHammett, Today, 03:23 AM
      0 responses
      15 views
      0 likes
      Last Post KirkHammett  
      Started by eleven, Yesterday, 10:06 PM
      0 responses
      45 views
      0 likes
      Last Post eleven
      by eleven
       
      Working...
      X