If using the plugin SDK the following C++ code will add license to your plugins!
Code:
bool irPlg_ValidateLicense(char* lpszLicenseInfo) { CString cs = lpszLicenseInfo; BOOL bReturn; if((cs == "LICENSE1") || (cs == "LICENSE2")) { bReturn = TRUE; } else { bReturn = FALSE; } return bReturn; }
Leave a comment: