title: How to get Application Pool name through code (C#, ASP.net)
body: <p>I want to recycle the application pool through my application.</p>
  
  <p>Previously I was storing the application pool name in my database and using that to recycle.
  But It happened in the past that we moved apps from one app pool to another and sometimes we forget to update the app pool name in the database.</p>
  
  <p>So I am thinking to get the app pool name through the application and use that for recycling.</p>