narasimman g

narasimman g

  • 1.6k
  • 160
  • 352.1k

Acess Network folders and files

Jan 4 2012 1:41 AM
Hi All,

I am developing a tool which retrieves files from Server.
I am trying to access netowrk folder in the below way

"\\IP\E$\Folder"

Always Directory.exists(\\IP\E$\Folder\) returns false.(Once we opened the server via run command by giving credentials Directory.Exists returns true
 
Start->run->Type \\IP\E$\)->Enter Windows Credentials
 
I have windows credentials for that Server. Dono how to add Impersonate/Windows Identity.

Can someone help me? Sample code will help me  more than theoritica info:(

Advanced thanks
N

Answers (1)