|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
HELP - Listing Shared FoldersI'm developing an ASP.NET 2.0 (C#) application in which I need to display
the available shared folders on the server. The shared folder paths need to be in UNC format (i.e., \\servername\share) and need to be clickable links. Upon clicking the link a textbox needs to be populated with the full UNC path. I don't need to read, write, edit, delete, etc. files or folders, I simply need to list all the shared folders and get its full UNC path. I know the System.IO namespace has some methods and/or properties to get directories, but I don't know how to limit this to only the available shared folders on the server. Anyone? Thanks in advance. Hi,
You can find C# implementation of this problem here: http://www.codeproject.com/csharp/networkshares.asp Hope this helps -- Show quoteHide quoteMilosz Skalecki MCP, MCAD "nuggies" wrote: > I'm developing an ASP.NET 2.0 (C#) application in which I need to display > the available shared folders on the server. The shared folder paths need to > be in UNC format (i.e., \\servername\share) and need to be clickable links. > Upon clicking the link a textbox needs to be populated with the full UNC > path. > > I don't need to read, write, edit, delete, etc. files or folders, I simply > need to list all the shared folders and get its full UNC path. > > I know the System.IO namespace has some methods and/or properties to get > directories, but I don't know how to limit this to only the available shared > folders on the server. > > Anyone? > > Thanks in advance. > > >
Other interesting topics
Deriving from MembershipUser and ASPNET Config Tool
ASP.net and thread safety MSWord DataGrid, Edit and the Enter Key Asp.net 2.0 caching and images ASP.NET Embedded Resources Dot Net or Javascript problem??? sending email Very Strange Problem! (Derived Controls) - Help! Architectural assistance needed! |
|||||||||||||||||||||||