Version: 3
restore

Contents

Method

RegistryKeyExists

ModuleNativeServices
LibraryCore
Action

Check whether a registry key exists.

Parameters

Hive (string): The registry hive to look under. E.g. "HKLM".

Subkey (string): The registry key to look for.

Return values

Exists (boolean): Whether the key exists or not.

Example
 NativeServices.RegistryKeyExists(Hive:"HKLM", Subkey:"software\\vendor\\settings");
Platforms
  • Windows
Notes