public static int GetRemoteRegistryValueInt(ManagementScope scope, string subKeyName, string valueName) { return(Convert.ToInt32(WMIUtils.GetRemoteRegistryValue(scope, "GetDWORDValue", subKeyName, valueName))); }
public static byte[] GetRemoteRegistryBinaryValue(ManagementScope scope, string subKeyName, string valueName) { return(WMIUtils.GetRemoteRegistryValue(scope, "GetBinaryValue", subKeyName, valueName) as byte[]); }
public static string GetRemoteRegistryValueString(ManagementScope scope, string subKeyName, string valueName) { return(WMIUtils.GetRemoteRegistryValue(scope, "GetStringValue", subKeyName, valueName).ToString()); }