Interface ITransportConnector
Provides methods for establishing transport connections used for the RFB protocol.
Namespace: MarcusW.VncClient.Protocol.Services
Assembly: MarcusW.VncClient.dll
Syntax
public interface ITransportConnector
Methods
| Improve this Doc View SourceConnectAsync(CancellationToken)
Connects to the specified endpoint and returns the resulting ITransport.
Declaration
Task<ITransport> ConnectAsync(CancellationToken cancellationToken = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| Task<ITransport> | The open transport. |