• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How can I get the MachineID ?

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

    How can I get the MachineID ?

    Hello,

    in NT7 I can get the machineID with:
    NinjaTrader.Cbi.License.MachineId;

    but with NT8 seems that the calling should be:
    NinjaTrader.Resource.CbiLicenseMachineID;

    however fails.

    How can I get the machineID in NT8 ?

    Thanks.

    #2
    Hello,

    Thank you for the question.

    I believe what you are accessing would only be a resource used somewhere in the platform regarding a Text or Title related to the machine ID.

    I tried this instead and do see the machine ID printed:

    Print(Cbi.License.MachineId);

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Sorry, it was my mistake.

      The License class is decorated with the NinjaScriptHidden attribute and I couldn't see it in the intellisense.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Steve L, Today, 05:01 PM
      0 responses
      6 views
      0 likes
      Last Post Steve L
      by Steve L
       
      Started by Trader-Joe, Today, 04:06 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by vantojo, Today, 04:06 PM
      0 responses
      5 views
      0 likes
      Last Post vantojo
      by vantojo
       
      Started by tonynt, Today, 02:39 PM
      2 responses
      13 views
      0 likes
      Last Post tonynt
      by tonynt
       
      Started by StevenNelson, Today, 12:23 PM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Working...
      X