Xceed .NET Libraries Documentation
TraceWriter Property (SFtpSession)


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SFtpSession Class : TraceWriter Property
Gets or sets the System.IO.TextWriter which will trace the communications between the client-side and the SFTP server.
Syntax
'Declaration
 
Public Property TraceWriter As TextWriter
'Usage
 
Dim instance As SFtpSession
Dim value As TextWriter
 
instance.TraceWriter = value
 
value = instance.TraceWriter
public TextWriter TraceWriter {get; set;}

Property Value

A reference to a System.IO.TextWriter which will trace the communications between the client-side and the SFTP server. By default, a null reference (Nothing in Visual Basic) therefore no tracing is done.
Example
The following example demonstrates how to write to a StreamWriter.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SFtpSession Class
SFtpSession Members