title: How to get list of available SQL Servers using C# Code?
body: <p>I have created a desktop application. On application launch I want to display the list of all available SQL Server instances on the local PC, and allow to choose a SQL Server name to connect with.</p>
  
  <p>Is there anyway to get the list of all SQL Server instance names that are available on the local PC?</p>
  
  <p>Thanks a lot.</p>