IAutomationCheckOutAddInLicence Method
Check out license for plugin. This also shows message if no license available and gives local users a way to insert license key.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static bool CheckOutAddInLicence(
string PlugInName,
bool ShowMessageIfNoLicense,
bool AddInfoToLog = true
)
Public Shared Function CheckOutAddInLicence (
PlugInName As String,
ShowMessageIfNoLicense As Boolean,
Optional AddInfoToLog As Boolean = true
) As Boolean
public:
static bool CheckOutAddInLicence(
String^ PlugInName,
bool ShowMessageIfNoLicense,
bool AddInfoToLog = true
)
static member CheckOutAddInLicence :
PlugInName : string *
ShowMessageIfNoLicense : bool *
?AddInfoToLog : bool
(* Defaults:
let _AddInfoToLog = defaultArg AddInfoToLog true
*)
-> bool
- PlugInName String
- Name of plugin to check out.
- ShowMessageIfNoLicense Boolean
- Show the licence dialog or a message if no licence is available.
- AddInfoToLog Boolean (Optional)
- Add info to log if no license available.
BooleanTrue if the licence is available and it can be checked out.