How to get the local path of a web service ?

  • Thread starter Thread starter Anne
  • Start date Start date
A

Anne

We have created a web service with the following URL:
"http://localhost/test/testWS.asmx"

In our C# program, we need to know the local path (IIS) corresponding to
this URL.
It should be something like "c:\Program File\web" in our case.

How can we retrieve the local path, knowing the URL, in a C# program ?
Which method shall be used ?

Thanks in advanced for the answer.
 
Back
Top