Creates a
StreamWriter that appends UTF-8 encoded text to an existing file.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
public StreamWriter AppendText( string path, Encoding encoding )
Parameters
- path
- Type:
System String
The path to the file to append to.
- encoding
- Type:
System.Text Encoding
The character encoding to use.
Return Value
A StreamWriter that appends UTF-8 encoded text to an existing file.Exceptions
| Exception | Condition |
|---|---|
| path is null. -or- encoding is null. |
See Also