Again Virtual Directory

L

lucky

Hi guys,
Again asking Question regarding Virtual Directories. now i've got the
Virtual Directories list with the help of Michael.
the code is used to get the virtual directory is

System.DirectoryServices.DirectoryEntry iisServer = new
System.DirectoryServices.DirectoryEntry("IIS://" + serverName +
"/W3SVC/1/Root");

now, to take my application further i need to retrive some files
information in that virtual directory or from the directory that
virtual
directory is pointing to.

the path return by the iisServer object is the "IIS://......." that is
not the physical path of the directory. and i want to know the physical
path of the directory.

can anyone please help me to get through this problem?

thanks,
Lucky
 
L

lucky

Hi Guys,
I forgot to mention the tools i'm using.
those are :

c#.net 2005 (VS.NET 2005)
IIS 5.0 oir later

Lucky
 

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