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 sidlercom80, Today, 04:45 AM
      0 responses
      3 views
      0 likes
      Last Post sidlercom80  
      Started by NT-Roland, Today, 04:44 AM
      0 responses
      4 views
      0 likes
      Last Post NT-Roland  
      Started by knarfoe, Today, 04:26 AM
      0 responses
      2 views
      0 likes
      Last Post knarfoe
      by knarfoe
       
      Started by manueldecastro, Yesterday, 10:59 PM
      2 responses
      9 views
      0 likes
      Last Post manueldecastro  
      Started by ttodua, 05-03-2019, 04:54 AM
      2 responses
      132 views
      0 likes
      Last Post ninZa
      by ninZa
       
      Working...
      X