Directory on another machine - Login credentials

Posted by Adam Witko on Stack Overflow See other posts from Stack Overflow or by Adam Witko
Published on 2010-06-17T10:11:27Z Indexed on 2010/06/17 10:23 UTC
Read the original article Hit count: 185

Filed under:
|
|
|

My application needs to access files on a remote machine that requires a username and password for accessing it.

I'm trying to find out if a directory exists (using Directory.Exists) to verify I can make the 'connection.

Is there a way to supply the username and password when working with remote directories? Currently Exists returns false.

Cheers,

© Stack Overflow or respective owner

Related posts about c#

Related posts about networking