A
A
Alyosha2018-06-05 14:58:29
C++ / C#
Alyosha, 2018-06-05 14:58:29

How to open a file on a remote computer? Do you have a username and password?

for example string s = File.ReadAllText("path/file.txt");
On the remote computer, the login and password (they are), but how can I programmatically transfer them so that they can access the file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mefutu, 2018-06-05
@mefutu

Well, I think, as an option, it is to connect a (remote) disk to Windows, and access it via File.ReadAllText("server1//file.txt");
At the time of connection, Windows will require a login / password, and then you will work with this disk as with your own.
PS if it works, let me know

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question