The file is xml, so you can read through it like any xml file using xpath.
http://www.dotnetjohn.com/articles.aspx?articleid=154
You could easily cheat by having an appsettings value with it in and read
that instead.
--
Regards
John Timney
ASP.NET MVP
Microsoft Regional Director
"Jeremy Chapman" <No****@Please.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Is there any way, from a web application to programatically access the
httpHandlers section in the applications web.config file? Specifically I
want find, at run time, the value of the path variable in the "<add
vert=...." line.
<httpHandlers>
<add verb="POST,GET" path="test/*.ashx" type="MyAssembly.MyClass, Test" />
</httpHandlers>