System.Registry.getKeyNames() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to System.Registry Class Summary

Availability
Windows

Usage
mdm.System.Registry.getKeyNames(keyBranchID:Number, keyName:String):Array

Parameters
keyBranchID:Number - Branch key ID

keyName:String - Key name to search

Returns
An Array

Description
Returns an array of all the keys found in the specified location.

Notes
The Key Branch ID can be:

'1' - HKEY_CLASSES_ROOT
'2' - HKEY_CURRENT_USER
'3' - HKEY_LOCAL_MACHINE
'4' - HKEY_USERS
'5' - HKEY_CURRENT_CONFIG

Example Code
var keyNames:Array = mdm.System.Registry.getKeyNames(2, "\\SOFTWARE\\NewKey\\SubKey");
mdm.Dialogs.prompt(keyNames.toString());

mdm.System.Registry Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page