The Utilities type exposes the following members.

Methods

  NameDescription
Public methodStatic memberExecuteWithLogging
Executes a tool, logs standard error and a nonzero exit code as errors, returns the output and optionally logs that as well.

Properties

  NameDescription
Public propertyStatic memberSoftwareRegistry32Bit
Returns the 32 bit HKLM\SOFTWARE registry key. May return null if it doesn't exist. Dispose of the return value.
Public propertyStatic memberSoftwareRegistry64Bit
Returns the 64 bit HKLM\SOFTWARE registry key. May return null if it doesn't exist. Dispose of the return value.
Public propertyStatic memberSoftwareRegistryNative
For a 32 bit process, it returns the 32 bit HKLM\SOFTWARE registry key, otherwise the 64 bit one. May return null if it doesn't exist. Dispose of the return value.
Public propertyStatic memberSoftwareRegistryNonnative
For a 32 bit process, it returns the 64 bit HKLM\SOFTWARE registry key, otherwise the 32 bit one. May return null if it doesn't exist. Dispose of the return value.

See Also