Retrieves an array of strings that contains all the subkey names.
Assembly: mscorlib (in mscorlib.dll)
The user does not have the permissions required to read from the key.
The RegistryKey being manipulated is closed (closed keys cannot be accessed).
The user does not have the necessary registry rights.
A system error occurred, for example the current key has been deleted.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)