Closed nikolakurtic closed 4 years ago
Ok, I just tested manager.uninstall() and it removes license from Preferences.
Is storeInUserPreferences mandatory? Is there a way to omit storing license? Thanks!
It's not mandatory. Your can...
.storeInSystemPreferences(Class<?> clazz)
instead, although it's not recommended because on some OS the user would need administrative privileges to do that..storeIn(Store store)
where the Store
parameter could be BIOS.memory()
if you really don't want to persist the license key.manager.uninstall()
as you've figured.I wonder what the use case is, however. Do you want to preview the license key? Then you should go with .storeIn(BIOS.memory())
as explained above. Otherwise, the call to manager.install(...)
does exactly what it's name suggests: It installs the license key in the configured store.
Is storeInUserPreferences mandatory? Is there a way to omit storing license? Thanks!