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:

    [Information redacted]

    At this time we do not document or support license checking through NinjaScript. If you are a vendor in our EcoSystem, our Business Development can provide further direction for how a license type, enabled license, machineid or similar can be detected through NinjaScript.

    If you would like to become a 3rd party developer for NinjaTrader please see our Vendor Licensing Management information.
    Last edited by NinjaTrader_ChelseaB; 07-21-2020, 10:26 AM.
    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 Aviram Y, Today, 05:29 AM
      0 responses
      2 views
      0 likes
      Last Post Aviram Y  
      Started by quantismo, 04-17-2024, 05:13 PM
      3 responses
      25 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by ScottWalsh, 04-16-2024, 04:29 PM
      7 responses
      34 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by cls71, Today, 04:45 AM
      0 responses
      6 views
      0 likes
      Last Post cls71
      by cls71
       
      Started by mjairg, 07-20-2023, 11:57 PM
      3 responses
      218 views
      1 like
      Last Post PaulMohn  
      Working...
      X