Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting username/password for DirectoryInfo on UNC

Status
Not open for further replies.

btaber

Programmer
Joined
May 26, 2002
Messages
307
Location
US
I have a windows service that needs to access network shares. Is it possible to specify a username/password for DirectoryInfo to get a list of files without mapping the drive?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top