inzo21 Posted November 25, 2003 Posted November 25, 2003 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 Quote he who forgets will be destined to remember... (E.Vedder)
Administrators PlausiblyDamp Posted November 25, 2003 Administrators Posted November 25, 2003 What kind of sensitive information are you storing? Could you not encrypt the values and just store them in a binary file? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Moderators Robby Posted November 25, 2003 Moderators Posted November 25, 2003 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. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.