Class TcpTransport
A transport which provides a stream for communication over a plain TCP connection.
Inheritance
System.Object
TcpTransport
Namespace: MarcusW.VncClient.Protocol.Implementation.Services.Transports
Assembly: MarcusW.VncClient.dll
Syntax
public sealed class TcpTransport : object, ITransport, IDisposable
Constructors
| Improve this Doc View SourceTcpTransport(TcpClient)
Initializes a new instance of the TcpTransport.
Declaration
public TcpTransport(TcpClient tcpClient)
Parameters
Type | Name | Description |
---|---|---|
TcpClient | tcpClient | The tcp client. |
Properties
| Improve this Doc View SourceIsEncrypted
Declaration
public bool IsEncrypted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Stream
Declaration
public Stream Stream { get; }
Property Value
Type | Description |
---|---|
Stream |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Implements
IDisposable