Retrieving farm details of Sharepoint server

Sep 2 2014 2:06 AM
Can anyone help me out with the c# code to retrieve farm Id, farm Name,No of WSP solution, No of web application,No of site collection, Number of sites, Number of Content database, farm version and farm size of a sharepoint server??

Answers (2)