Click or drag to resize

SftpClientAppendAllText(String, String) 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.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public void AppendAllText(
	string path,
	string contents
)

Parameters

path  String
The file to append the specified string to.
contents  String
The string to append to the file.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.

-or-

contents is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also