RedhopIT
RedhopIT

Reputation: 619

Get list of installed DBMS

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

I heard WMI can get information 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.

Upvotes: 0

Views: 316

Answers (1)

CodingGorilla
CodingGorilla

Reputation: 19842

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.

Upvotes: 2

Related Questions