/// <summary> /// Method to get the GUID codes of all patches installed /// </summary> /// <returns>Array of GUIDs<returns> /// <seealso cref="getPatchesInstalled()"> /// See also the getPatchesInstalled method </seealso> private List <string> GetPatchesCodes() { try { List <string> patchesCodes = new List <string>(); string keyPath = @"Installer\Products\" + productCode + @"\Patches"; patchesCodes = RegistryWrapper.GetValueNames(RegHive.ClassesRoot, keyPath); return(patchesCodes); } catch (Exception ex) { Logger.Warn(ex.ToString()); return(null); } }