Link to home
Start Free TrialLog in
Avatar of svenswenson
svenswenson

asked on

List shared folders on a remote server (like net view)

Hi folks,

I'm trying to make an app in which a user gives a server name an I return all the available shares on that server (like the "net view" shell command).  Is there an existing class that will do this so I don't have to open a shell at runtime?  I've tried playing with DirectoryInfo, but no luck.  Any suggestions?  
ASKER CERTIFIED SOLUTION
Avatar of heintalus
heintalus

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of svenswenson
svenswenson

ASKER

Perfect, Andy.  Thanks very much.