Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Platform Version Global Variable

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

    Platform Version Global Variable

    Greetings Support Team,

    Several months ago I had written an indicator that pulled the current NT8 platform version (and architecture if I recall) from a variable somewhere in NinjaScript. This was to assess whether the script was compatible with the currently running version. I have since lost that reference. Could you please help me out? There are other options through C# libraries that will pull the current application version but using other methods makes things a bit 'messy' for my current application.

    Thank you in advance!

    #2
    Hi CDXTrader, thanks for your question.

    We don't have any documented methods for this. I was able to get the version like this:

    Print(Application.ResourceAssembly.FullName.Split( ',')[1]);

    Please let me know if I can assist any further.

    Comment


      #3
      Hi Chris,

      Thanks for the reply. Your solution should work for me. I was pretty sure there was a global variable that provided some more details about the platform but perhaps I'm mistaking. If there is, maybe you could point me in the direction of the proper class. I know this would be undocumented/supported. If not, no worries.

      Cheers

      Comment


        #4
        Hi CDXTrader, thanks for your reply.

        I looked through the undocumented properties but I could not find anything, unfortunately.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        633 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X