Examples of queryValue()


Examples of pushy.modules.WinregModule.queryValue()

                    (WinregModule)client.getModule("_winreg");
                Object hkey = winreg.openKey(WinregModule.HKEY_LOCAL_MACHINE,
                    "Software\\Microsoft\\Windows NT\\CurrentVersion");
                try {
                    String prodname =
                        (String)winreg.queryValue(hkey, "ProductName");
                    if (prodname.indexOf("Server") != -1)
                        isServer = true;
                } finally {
                    winreg.closeKey(hkey);
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.