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.
    http://ninjatrader.com/support/helpG...entication.htm
    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 elliot5, Today, 03:37 AM
      0 responses
      4 views
      0 likes
      Last Post elliot5
      by elliot5
       
      Started by Papercut110, Today, 03:17 AM
      0 responses
      3 views
      0 likes
      Last Post Papercut110  
      Started by max333, Today, 02:22 AM
      2 responses
      8 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by cincai, Today, 12:55 AM
      3 responses
      12 views
      0 likes
      Last Post cincai
      by cincai
       
      Started by cincai, Today, 12:51 AM
      1 response
      11 views
      0 likes
      Last Post s.kinra
      by s.kinra
       
      Working...
      X