I am using HttpListener Class to produce a local web server. But by default, HttpListener Class will read the path which saves HttpListener exe file.
If I want to set a different path as server root path, just like Apache can choose a root path, how to do it with HttpListener?
I have read the HttpListener document, but there is no method for doing this.
Thanks
Water Lin
c:\mywebapp\files
? or do you mean "the http path" (i.e.http://foo/bar/blap/blop/
)?