Microsoft's Configuration Management Application Block (CMAB) allows me to
specify which Configuration Storage Provider (CSP) to use in the
application's config file. I am writing a .NET library which is used via
non-.NET COM applications. Consequently there is no application config file
because the host program is not a .NET program. The only way that I can see
to specify which Configuration Storage Provider to use in this scenario is
to modify machine.config and set the default CSP for the whole machine. I
don't want to do this because it really isn't a machine wide setting - it is
an application setting. Is there any way in which I can specify which CSP to
use in code ?
Nick Carter