yokzu

yokzu

  • NA
  • 306
  • 0

Creating and deleting files on a remote machine

Sep 28 2011 4:43 AM
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)