0
Answer

Accessing folder in a network system?

Ask a question
rohit a

rohit a

18y
1.6k
1
 

hai all,

by using the following code is it possible to get check a folder is present in a system in the network?

string fold=@\\server-name\system-name\folder-name;

if (System.IO.Directory.Exists(fold)){}

its not working for me... am i doing correct?