hi ,
I would like the simplest example of using DirectoryInfo (or something similar) to view the files and folders on another computer's drive. The other computer is on the same local network as my computer, but requires credentials other than my own.
The program code that will use DirectoryInfo() will run on my local machine, and I am logged into my local machine as, say, user "A".
The program will attempt to access folders and files on the other computer's drive. The other computer doesn't allow access by user "A", but does allow access by user "B". I know the userID and password for user "B" and would like to use that in my program code, along with the DirectoryInfo() object, to view the files on the other computer.
can anyone help me , very tanks