SftpClientAppendAllText(String, String, Encoding) Method |
Opens a file, appends the specified string to the file, and then closes the file.
If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file.
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic void AppendAllText(
string path,
string contents,
Encoding encoding
)
Parameters
- path String
- The file to append the specified string to.
- contents String
- The string to append to the file.
- encoding Encoding
- The character encoding to use.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also