internal void ScanForDisabledItems() { string hostName = this.hostName; if (this.addInType == "Managed") { this.assemblyPath = "mscoree.dll"; } if (this.hostName == "Project") { hostName = "MS Project"; } string disabledStatus = string.Empty; RegistryReader.ReadResiliencyRegistryKeys(hostName, this.assemblyPath, this.friendlyName, out disabledStatus); if (string.IsNullOrEmpty(disabledStatus)) { return; } this.statusImage = Resources.WarningImage; this.status = false; this.statusDescription = !string.IsNullOrEmpty(this.statusDescription) ? string.Format("{0} {1}", (object)this.statusDescription, (object)disabledStatus) : disabledStatus; }