Click or drag to resize

SftpClientAppendText(String, Encoding) Method

Creates a StreamWriter that appends UTF-8 encoded text to an existing file.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public StreamWriter AppendText(
	string path,
	Encoding encoding
)

Parameters

path  String
The path to the file to append to.
encoding  Encoding
The character encoding to use.

Return Value

StreamWriter
A StreamWriter that appends UTF-8 encoded text to an existing file.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.

-or-

encoding is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also