Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to retrieve all folder and file name from NETWORK drive using c#. Please help me
Posted
Comments
Sergejack 4-Apr-14 6:26am    
You could just use UNC http://en.wikipedia.org/wiki/Uniform_Naming_Convention#Uniform_Naming_Convention

1 solution

I guess there is no different between access a network path or local path as long you have necessary permissions. Check the link for samples.

http://www.dotnetperls.com/path[^]
 
Share this answer
 
Comments
Member 10592770 4-Apr-14 6:54am    
Hi Arun , First of all thanks For your reply but i want like let say i have one tree view control and i want to retrieve all file and folder of network drive and then bind with tree view control
ArunRajendra 4-Apr-14 8:11am    
I don't knw if you could bind the tree control. Found few links to build the tree manually.

http://stackoverflow.com/questions/16315042/how-to-display-directories-in-a-treeview
http://stackoverflow.com/questions/6239544/c-sharp-how-to-populate-treeview-with-file-system-directory-structure

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900