TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Brad
NA
13
0
UNC. How do I find shared directories?
Jan 27 2006 12:25 AM
In the application I am currently working on, I need to return a list off the UNC paths to all shared directories.. The same sort of list you get when you open 'My Network Places'. There is a simple solution of looking in the C:\Documents and Settings\
\Nethood.. But this is not a good solution. This directory only updates when you manually visit the My Network Places folder. So if a new share becomes available, it will not by found by the application until some user refreshes the My Network Places folder.. I need a proper solution.. Not a clumsy loop though the NetHood folder.. .NET must have functions that can talk to the Network.. That can return for me all of the current network shares.. How do I do that? Where should I start looking for classes and functions to help with this? Thanks EDIT: Spelin mustaks
Reply
Answers (
7
)
suggest a c# book
Help Regarding Reading And Writing in to Text Files