SftpClientCreateText(String, Encoding) Method |
Creates or opens a file for writing UTF-8 encoded text.
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic StreamWriter CreateText(
string path,
Encoding encoding
)
Parameters
- path String
- The file to be opened for writing.
- encoding Encoding
- The character encoding to use.
Return Value
StreamWriter A
StreamWriter that writes to the specified file using UTF-8 encoding.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also