PDA

View Full Version : IsValidLicense


ATI user
11-07-2007, 04:30 AM
I was reading Best Practices in 6.5 help and noticed the following.

Example License Check

protected override void OnBarUpdate()
{
// Make sure that your license check is performed once and maintains the check state
if (!IsValidLicense())
return;
}

I tried it and got a compile error "The name IsValidLicense does not exist in the current context". Am I using it incorrectly?

I currently use VendorLicense(); in my Initialize method which works fine. Should I also be using IsValidLicense in my OnBarupdate method?

NinjaTrader_Dierk
11-07-2007, 06:28 AM
This information only applies to registered 3rd party vendor. Please contact "sales AT ninjatrader DOT com" for hwo to be come a registered 3rd party vendor.