SftpClientWriteAllText(String, String) Method |
Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten.
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic void WriteAllText(
string path,
string contents
)
Parameters
- path String
- The file to write to.
- contents String
- The string to write to the file.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also