How to get the local path of a web service ?

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top