Been a while, but I did this before by calling the NetServerEnum() Windows
API function. Here's an app that does enumerates SQL Servers:
http://www.codeproject.com/csharp/servercombobox.asp
"Henry" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I am looking for a code sample that allows a user to browse for SQL Servers
>on the the local area network, similar to the ODBC Data Sources and drivers
>dialog where you have a dropdown box that is populated with all the
>available servers.
>
> I am not sure if this has to be coded from scratch or whether it is
> possible to piggyback off some available system functions. I need to
> extract the the database as well.
>
> Does anybody know of any articles on this topic or can someone point to a
> code sample?
>