Esempio n. 1
0
    public static bool IsSANPolicyOnline(ManagementScope defaultScope)
    {
        bool flag = false;

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