I assume we should use VendorLicense(string, string, string, string, System.Func<bool>).
I understand the first 4 strings to be VendorName, SoftwareModuleName, VendorWebsite, and VendorEmail; but what is the (apparently optional) System.Func<bool> and how do we use it? I'm guessing that last variable provides an indication of whether on not the User was Authenticated, but I'm not sure. Could you provide a snippet?
Also, in the Best Practices for 3rd Party Developers section of your documentation, it states that "A license check should have a time out in case of internet issues..." Again, could you provide a snippet? Or, perhaps you could provide one snippet for both questions.
I've tried inserting VendorLicense(string, string, string, string) [without the fifth variable] in the OnStateChange() method in State.SetDefaults, but it seems to prevent some of my indicators from working properly.
Thanks, Jim
Comment