Getting A List Of Installed Data Providers

N

Nick Carter

I want to get a list of the installed ADO.NET Data Providers on a machine.
The only way I can see to do this is to look at each and every assembly in
the GAC and use Reflection to see whether the classes contained within have
the necessary signatures which identify them as data provider classes (i.e.
they support the IDbConnection, IDbCommand etc. interfaces). This seems a
bit unnecessary and a bit low tech. Does anyone know of a better way ? Is
there some sort of RegisterDataProvider technique which data providers have
to use to register themselves which I might make use of ?

Nick Carter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top