Registry.DoesKeyExist

boolean Registry.DoesKeyExist ( 

number MainKey,

string SubKey )

Example 1

is_there = Registry.DoesKeyExist (HKEY_LOCAL_MACHINE, "Software\\My Application");

Checks to see if the key "My Application" exists in  HKEY_LOCAL_MACHINE\Software and returns either true or false in the variable "is_there."

See also:  Related Actions