TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
joe bob
NA
5
0
Access a drive directory and pass username and password
May 18 2010 2:02 PM
Im still kind of new to C#, I have to write an application that accesses a directory and get a file that requires a username and password.
I get an error "Access to path is denied". I don't know how to pass the login information to get access. I have the username and password.
Please help. Thank you
string physicalPath = System.IO.Path.GetFullPath("\\\\10.0.0.1\\DirName");
StreamReader reader = new StreamReader(physicalPath);
Reply
Answers (
2
)
i need Jaish Mathews help me :D
How to find the process which accessed a registry key?