List of Installed DB Instances/Servers

I have a WINDOWS front end app I am developing for use MSSQLServer. It works fine.

This issue I am having is the initial install setup on user’s local machine. I would like to present a list of installed server or DB instances the user has access to, rather than hard coding this in the application. I’ll store that for subsequent use so it would only be necessary to configure once. I am also working with Microsoft SQL Server Management Studio and when it is launched it allows you to choose from a list of database instances in a drop down menu, you choose the server (host) then it provides a list of DBs under that host. I’d like to implement something like this.

Where are these resources stored? Can they be accessed in a XOJO application?

Any help appreciated. Thanks