keyExists
Returns whether the key exists.
Method of
Syntax
boolean keyExists (
string key);Parameters
The method has the following parameter:
keyA string representing the path to the key Returns
Description
If the user does not have read access to the given key, this will also return false.
Example
winreg = getWinRegistry();{
if ( winreg != null )winreg.setRootKey( winreg.HKEY_LOCAL_MACHINE);
if(winreg.keyExists("SOFTWARE\\mozilla"))
{
| Netscape Communications devedge.netscape.com |