Zero Install .NET API 2.20.0
ZeroInstall.Publish.Capture.RegUtils Class Reference

Provides convenience helper methods for registry access. More...

Static Public Member Functions

static IReadOnlyCollection< string > GetValueNames (RegistryKey root, string key)
 Retrieves the names of all values within a specific subkey of a registry root. More...
 
static IReadOnlyCollection< string > GetSubKeyNames (RegistryKey root, string key)
 Retrieves the names of all subkeys within a specific subkey of a registry root. More...
 

Detailed Description

Provides convenience helper methods for registry access.

Member Function Documentation

◆ GetSubKeyNames()

static IReadOnlyCollection< string > ZeroInstall.Publish.Capture.RegUtils.GetSubKeyNames ( RegistryKey  root,
string  key 
)
inlinestatic

Retrieves the names of all subkeys within a specific subkey of a registry root.

Parameters
rootThe root key to look within.
keyThe path of the subkey below root .
Returns
A list of key names; an empty array if the key does not exist.

◆ GetValueNames()

static IReadOnlyCollection< string > ZeroInstall.Publish.Capture.RegUtils.GetValueNames ( RegistryKey  root,
string  key 
)
inlinestatic

Retrieves the names of all values within a specific subkey of a registry root.

Parameters
rootThe root key to look within.
keyThe path of the subkey below root .
Returns
A list of value names; an empty array if the key does not exist.

The documentation for this class was generated from the following file: