API Reference
Class
RegistryEvidenceHelpers
Helper methods to convert registry reads into friendly, reusable evidence records. Keeps view model code small and consistent across local registry-based rules.
Inheritance
- Object
- RegistryEvidenceHelpers
Methods
public static RegistryEvidence FromBoolean(ValueResult result, String trueText, String falseText, String hint = null) #Returns:
RegistryEvidenceBuilds an evidence record for a boolean-style registry value (0/1).
Parameters
- result ComputerX.Registry.RegistryReader.ValueResult
- Registry read result.
- trueText System.String
- Friendly text when the value evaluates to true.
- falseText System.String
- Friendly text when the value evaluates to false.
- hint System.String = null
- Optional note explaining semantics (e.g., meaning of 0/1).
public static RegistryEvidence FromRaw(ValueResult result, String friendlyValue = null, String hint = null) #Returns:
RegistryEvidenceBuilds an evidence record for arbitrary values, using a provided friendly string when available.
Parameters
- result ComputerX.Registry.RegistryReader.ValueResult
- Registry read result.
- friendlyValue System.String = null
- Optional friendly representation.
- hint System.String = null
- Optional explanatory note.
public static Nullable<Boolean> ToBool(ValueResult result) #Returns:
Nullable<Boolean>Converts a registry value (DWORD/QWORD/string) into a nullable boolean. Returns null when the read failed or the value is missing/unconvertible.
Parameters
- result ComputerX.Registry.RegistryReader.ValueResult
- Registry read result.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object