title: Check if SQL Server is installed on a machine through C#
body: <p>I am making an application which is a user interface to access 2 types of databases - SQLite and SQL Server. </p>
  
  <p>The thing is, SQLite doesnt need to be <em>"installed"</em> since its just a flatfile database, but on the other hand, SQL Server (Express/normal) need to be installed before use. My Question is simple:</p>
  
  <blockquote>
    <p>Is there a way by which i can find out if an instance of SQL Server has been installed on the local machine by using a C# program?</p>
  </blockquote>