Show / Hide Table of Contents

Class VncClient

Client for the RFB protocol which allows connecting to remote VNC servers.

Inheritance
System.Object
VncClient
Namespace: MarcusW.VncClient
Assembly: MarcusW.VncClient.dll
Syntax
public class VncClient : object

Constructors

| Improve this Doc View Source

VncClient(ILoggerFactory)

Initializes a new instance of the VncClient.

Declaration
public VncClient(ILoggerFactory loggerFactory)
Parameters
Type Name Description
ILoggerFactory loggerFactory

The logger factory implementation that should be used for creating new loggers.

| Improve this Doc View Source

VncClient(ILoggerFactory, IRfbProtocolImplementation)

Initializes a new instance of the VncClient.

Declaration
public VncClient(ILoggerFactory loggerFactory, IRfbProtocolImplementation protocolImplementation)
Parameters
Type Name Description
ILoggerFactory loggerFactory

The logger factory implementation that should be used for creating new loggers.

IRfbProtocolImplementation protocolImplementation

The IRfbProtocolImplementation that should be used.

Methods

| Improve this Doc View Source

ConnectAsync(ConnectParameters, CancellationToken)

Tries to connect to a VNC server and initializes a new connection object.

Declaration
public Task<RfbConnection> ConnectAsync(ConnectParameters parameters, CancellationToken cancellationToken = null)
Parameters
Type Name Description
ConnectParameters parameters

The connect parameters.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<RfbConnection>

An initialized RfbConnection instance.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX