hi all
i have one problem in windows service.
i have code as following:-
DirectoryInfo di = new DirectoryInfo(szfolder);
if(di.Exists==true)
eventLog1.WriteEntry("exist");
else
eventLog1.WriteEntry("not exist");
when i give szfolder as path of folder which on lan something like
"\\aa\bb",
where aa is some other computer on lan which is accessiable through my
pc.
above code add entry in log as 'not exist'.
but if i try same code with windows application ' it will display
message as 'exist'./
can some one tell me why this is happening.
any help will be appreciated.
thanks in advance.