I want to get list of Sql server instance that are existing in local network with the name of computer that it belongs to.
question2:if a user select every instance of SqlExpress ,i want to get the path that it becomed installed, i mean for example “C:\Program Files\Microsoft SQL Server…..”.
thanks alot.
Check this MSDN page
EDIT: for future reference, here is the relevant code.: