문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top