Cryptlex Forums

Where does Crytplex store data locally?

E
Eloque

I am implementing Crytplex in a MacOS application. It’s vital that when the user removes the application from their system, all associated configuration and information is also removed. This includes the licences.

I can’t implement this in code in my own application, simply because the users do not run the application prior to uninstalling. Thus, I need to know where CryptLex stores local data so it can be removed manually if needed.

A
Adnan KamiliCryptlex team

Hi Eloque,

On macOS the data is stored in the following directory:

/Library/Application Support/iConf/

L
lindale

How about on Windows?

A
Adnan KamiliCryptlex team

Hi,

On Windows, the data is stored in registry key:

SOFTWARE\CLASSES\csetz

J
Jakob

Hello. Where is it on Linux?

A
Adnan KamiliCryptlex team

On Linux it is stored at:

~/.local/share/data/bconf/

D
Dr Knusper

Just wondering. What happens to these files if there are 2 different applications installed that are both using Cryptlex? Will they override each others licensing information?

A
Adnan KamiliCryptlex team

They won’t interfere with each, and it is guaranteed.

P
pat

Hi Adnan,
Is “/Library/Application Support/iConf/” still used for macOS? I do not see the iConf folder.
Pat

A
Adnan KamiliCryptlex team

Hi Pat,

It is in the user specific /Library/Application Support/iConf/ directory.

B
Bob Calco

Do I understand correctly that these are what LexActivator.Reset() removes (per application)?

A
Adnan KamiliCryptlex team

It resets the data to garbage values for the product.

B
Bob Calco

Do I understand correctly that the data at that location in the Registry pertains to all products that may be installed using Cryptlex for licensing? Meaning, it’s a bad idea to delete it per se, unless you know for sure Other People’s Products Using Cryptlex are also not on the machine? IOW, always use Reset() as a rule?

A
Adnan KamiliCryptlex team

Yes, you are correct.

P
pat

Is it the same location on linux whatever we use LA_USER or LA_SYSTEM (assuming we ‘sudo’ in the latter case)?

A
Adnan KamiliCryptlex team

Yes, the location will be the same - the home folder of the user. sudo will make it point to home folder of root user.

A
Ahmad Kemsan

In case the permission flag is set to LA_ALL_USERS, the activation data is stored at:

  • Windows: C:\ProgramData\LexConf\
  • macOS: /Users/Shared/LexConf/

← Back to all topics · 17 posts · 8546 views · opened 2019-08-05