win-registry icon indicating copy to clipboard operation
win-registry copied to clipboard

is this library can access HKEY_LOCAL_MACHINE?

Open fgroupindonesia opened this issue 3 years ago • 2 comments

is it possible to access... another location such as

"HKEY_LOCAL_MACHINE\SOFTWARE\etc...etc" ?

fgroupindonesia avatar Nov 03 '20 10:11 fgroupindonesia

Hi @fgroupindonesia

I hope this can help:

https://github.com/sarxos/win-registry/blob/master/src/example/java/com/sarxos/win32/regutil/GetKeyValue.java

In this example it reads HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName. You can test the code for more details.

sarxos avatar Nov 03 '20 10:11 sarxos

alright then. I'm curious because there's some hexadecimal that i need to obtain. but seems unable to obtain correctly after the convertion...

fgroupindonesia avatar Nov 04 '20 05:11 fgroupindonesia