title: How to detect IIS version using C#?
body: <p>How to detect IIS version using C#?</p>
  
  <p>Update:
  I meant from a winapp (actually the scenario is developing a custom installer that wants to check the version of the installed IIS to call the appropriate api's)</p>