App.Config or DLL question

inzo21

Regular
Joined
Nov 5, 2003
Messages
74
Hello Everyone,

I'm trying to store and retreive values that are wrapped inside a .DLL. Reading works fine - it's the writing that doesn't. Basically I wanted to use this .DLL the store application configuration valaus that could be updated and modified.

I stored the values in private variables and have properties in the .DLL that can alter and retreive the value. The problem is that the value is not being retained. This dll will be read by the application and by a service installed on the local node.

Thus, I went to use app.config- but it is in readible format and I am storing sensitive information.

So the question, does anyone know a way to either store the values in a .DLL without recompiling, mask the information in the app.config so it is illegible or some other means of doing this.

My last resort is a standard .ini file with encryption - which I wanted to veer away from.

thanks in advance.

inzo
 
The DLL cannot retain values that you send to it, it is there to execute code not to save values as would a file.

PlausiblyDamp suggestion would be viable.
 
Back
Top