You can use NetShareEnum win32 api.
http://www.pinvoke.net/default.aspx/netapi32/netshareenum.html
Or look at the following project which is .NET Wrapper over it.
http://www.codeproject.com/KB/IP/networkshares.aspx
More Related Contents:
- Access a Remote Directory from C#
- How to execute an .SQL script file using c#
- JSON.Net throws StackOverflowException when using [JsonConvert()]
- Call SignalR Core Hub method from Controller
- How to pass the smart screen on Win8 when install a signed application?
- Difference Between Invoke and DynamicInvoke
- Getting the current tab’s URL from Google Chrome using C#
- What is the difference between bool and Boolean types in C#
- Json.net serialize specific private field
- Set default global json serializer settings
- Entity Framework And Business Objects
- Creating Custom Picturebox with Draggable and Resizable Selection Window
- C# – how to determine whether a Type is a number
- yield return statement inside a using() { } block Disposes before executing
- C# Linq intersect/except with one part of object
- How to make Check Box List in ASP.Net MVC
- C# – How to copy a single Excel worksheet from one workbook to another?
- Getting time span between two times in C#?
- C# : Monitor – Wait,Pulse,PulseAll
- C# lambda, local variable value not taken when you think?
- Passing a complex object to a page while navigating in a WP7 Silverlight application
- Can .NET load and parse a properties file equivalent to Java Properties class?
- Domain credentials for a WebClient class don’t work
- Customize automatic response on validation error
- Entity Framework: Duplicate Records in Many-to-Many relationship
- When should I use dependency properties in WPF?
- Could not load file or assembly ‘MySql.Data, Version=6.2.2.0
- Debugging failing HTTPS WebRequest
- Xamarin (Android) Unit Tests in Visual Studio 2017
- MVC Form Validation on Multiple Fields