public static bool IsSANPolicyOnline(ManagementScope defaultScope) { bool flag = false; if (WMIUtils.GetRemoteRegistryValueInt(defaultScope, "SYSTEM\\CurrentControlSet\\Services\\partmgr\\Parameters", "SanPolicy") == 1) { flag = true; } return(flag); }
public static int GetTerodoViewPort(ManagementScope defaultScope) { return(WMIUtils.GetRemoteRegistryValueInt(defaultScope, "SOFTWARE\\NSI Software\\Double-Take\\CurrentVersion", "Port")); }