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
Baransel DİNÇ
NA
2
700
Access a file on local area network with authorization
Oct 20 2017 5:24 AM
Hi. Firstly, I apologize to you for my poor english.
I want to access a file on a different machine that is on the same network as me. I also need to authenticate when doing this.
For Example;
My Local IP : 10.1.1.138
Target Local IP: 10.1.1.235
File Location is \\10.1.1.235\FolderName\example.txt
Username for target machine is: "username"
Password for target machine is: "password"
I want to do like this:
string data = File.GetAllText(@"\\10.1.1.235\FolderName\example.txt"); //with authentication
How can I do?
Reply
Answers (
1
)
Copy file from Local PC to remote server share
Pass Smartcard Credentials to DirectoryServices