check if sqlserver is installed on a machine thro C#

Posted by Skun on Stack Overflow See other posts from Stack Overflow or by Skun
Published on 2010-03-14T17:17:31Z Indexed on 2010/03/14 17:25 UTC
Read the original article Hit count: 175

Filed under:
|
|

Hey !

I am making an application which is a user interface to access 2 types of databases - SQLite and MSSQL server.

The thing is, SQLite doesnt need to be "installed" since its just a flatfile database, but on the other hand, SQLserver (Express/normal) need to be installed before use. My Question is simple:

Is there a way by which i can find out if an instance of SQLserver has been installed on the local machine by using a C# program?

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql-server