public static void VerifyRegKeysIFUpdate() { if (isUpdate) { WorkFolder = Verifications.HKLM_GetString(@"SOFTWARE\NDDigital\eForms\Connector", "PathWorkFolder"); PathFolder = Verifications.HKLM_GetString(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NDDigital eForms Connector", "InstallLocation"); RootFolder = Verifications.HKLM_GetString(@"SOFTWARE\NDDigital\eForms\Connector", "PathWorkFolder"); } }
public static bool VerifyDBMGRResult() { bool result; string ok = Verifications.HKLM_GetString(@"SOFTWARE\NDDigital\eForms\Connector", "DBMGR_Status"); if (ok == "1") { result = true; } else { result = false; } return(result); }