How to detect IIS version using C#?
Update: I meant from a winapp (actually the scenario is developing a custom installer that wants to check the version of the inst
Use System.Web.HttpRequest.ServerVariables("SERVER_SOFTWARE"). The return value is a string in the format name/version.