M
Mythran
I have 2 assemblies (for example). Assembly A references assembly B. If I
have a value in assembly A that I want to be used in assembly B, how can I
store it so that assembly B can access it without actually "passing" the
value to assembly B?
I've seen the Threading.Thread.CurrentThread.SetNamedDataSlot method and was
wondering if that could be "safely" used to store information that would be
passed normally to just about every public method in my class (such as a
connection string).
Reason why I am not storing the Connection String inside the App.config is
it is automatically generated based on user-input. So, I would hate to have
to pass this information into the business logic layer and then into the
data access layer every time I want to access the database. I do not want
to store this information on disk or registry because it may contain
passwords which we do not want stored anywhere else but memory...
Look, I'm babbling! Anywho, thanks for the help y'all
Mythran
have a value in assembly A that I want to be used in assembly B, how can I
store it so that assembly B can access it without actually "passing" the
value to assembly B?
I've seen the Threading.Thread.CurrentThread.SetNamedDataSlot method and was
wondering if that could be "safely" used to store information that would be
passed normally to just about every public method in my class (such as a
connection string).
Reason why I am not storing the Connection String inside the App.config is
it is automatically generated based on user-input. So, I would hate to have
to pass this information into the business logic layer and then into the
data access layer every time I want to access the database. I do not want
to store this information on disk or registry because it may contain
passwords which we do not want stored anywhere else but memory...
Look, I'm babbling! Anywho, thanks for the help y'all

Mythran