Retrieving farm details of Sharepoint server
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??
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Manesh GolekarRank #5,709 · 289 reputationPosted Sep 3, 2014, 7:20 PM EDT
Here is good article for retrieving details :
http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-2010-how-to-get-farm-servers-through-code/
Best
M
Aaditya Khanna3 reputationPosted Sep 4, 2014, 10:57 PM EDT