SftpClient WriteAllText Method SSH .NET Client Library Documentation
Overload List

  NameDescription
Public methodWriteAllText(String, String)
Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten.
Public methodWriteAllText(String, String, Encoding)
Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten.
Back to Top
See Also