title: How to get website's physical path on local IIS server? (from a desktop app)
body: <p>How to get the path that usually looks like  <code>%SystemDrive%\inetpub\wwwroot</code> ? </p>
  
  <p>I guess it's something to do with <code>Microsoft.Web.Administration.ServerManager</code> class, but I couldn't find a way.</p>
  
  <p>Update: I'm trying to get the path from standalone app. Not an ASP.NET web app.</p>