title: How to get the IIS virtual dir & web application's physical paths with C# code?
body: <p>I am writing a web application deployment verification tool and I need to check the physical folder structures of Web Applicatons and Virtual Folders. </p>
  
  <p>How can this be done in C#? OR more generally, interact with IIS through C# code?</p>