Get list of installed DBMS

271 views Asked by At

is there any way (or API) to use to get a list of all installed DBMS in a computer using C# ?

I heared WMI can get informations about the system , but can it be used to get installed DBMS ?

any advice ? EDIT : problem solved , there isn't any API or DLL to pull list of installed DBMS , the only way is to get list of running processes and then compare them to an internal list.

Thanks!

1

There are 1 answers

2
CodingGorilla On BEST ANSWER

Short answer: No.

Longer answer: There is nothing that defines a particular application as a "DBMS". So you would need to look at all the installed software, and attempt to identify the individual pieces of software that you qualify as a "DBMS". To windows, its just software and services.

For example, what qualifies as a "DBMS" (to you)? Probably SQL Server, MySQL, but what about RavenDB? It's not what I would call a "DBMS", although it can certainly fill a lot of the same roles.