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 Pattontje, Yesterday, 02:10 PM
      2 responses
      14 views
      0 likes
      Last Post Pattontje  
      Started by flybuzz, 04-21-2024, 04:07 PM
      17 responses
      229 views
      0 likes
      Last Post TradingLoss  
      Started by agclub, 04-21-2024, 08:57 PM
      3 responses
      17 views
      0 likes
      Last Post TradingLoss  
      Started by TradingLoss, 04-21-2024, 04:32 PM
      4 responses
      43 views
      2 likes
      Last Post TradingLoss  
      Started by cre8able, 04-17-2024, 04:16 PM
      6 responses
      56 views
      0 likes
      Last Post cre8able  
      Working...
      X