function ValidateLicense(hMSI) STRING szMyProp; NUMBER nBuffer; OBJECT nresult; begin nBuffer=256; MsiGetProperty(hMSI, "USERLICENSE", szMyProp, nBuffer); if(szMyProp ="078E-3476-83F9-7395") then nresult = EzDefineDialog("CustomerInformation","","",1920); else MessageBox("The License is not valid",INFORMATION); endif; end;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)