11
Answers

Creating and deleting files on a remote machine

yokzu

yokzu

13y
8.4k
1
Hello,
I want to create and delete a text file on a remote server. File's directory is not shared but I have machine's user and pass informations.
How can I do that?
---------------------
 File.Delete("C:\\test.txt");
 StreamWriter dosya = new StreamWriter("C:\\test.txt");
-------------------
Answers (11)