Skip to main content

HeadlessVncPlatformExtensions Class

Definition​

Namespace:Avalonia
Assembly:Avalonia.Headless.Vnc
Package:Avalonia.Headless.Vnc
public class HeadlessVncPlatformExtensions

Inheritance: object -> HeadlessVncPlatformExtensions

Methods​

NameDescription
StartWithHeadlessVncPlatform (2 overloads)Start Avalonia application with Headless VNC platform with password.

StartWithHeadlessVncPlatform overloads​

StartWithHeadlessVncPlatform Method​

Start Avalonia application with Headless VNC platform with password.

public int StartWithHeadlessVncPlatform(Avalonia.AppBuilder builder, string host, int port, string password, string[] args, Avalonia.Controls.ShutdownMode shutdownMode)
Parameters​

builder Avalonia.AppBuilder

Application Builder

host string

VNC Server IP will be bind, if null or empty IPAddress.LoopBack will be used.

port int

VNC Server port will be bind

password string

VNC connection auth password

args string[]

Avalonia application start args

shutdownMode Avalonia.Controls.ShutdownMode

shut down mode Avalonia.Controls.ShutdownMode

Returns​

int

Exceptions​

StartWithHeadlessVncPlatform Method​

Start Avalonia application with Headless VNC platform without password.

public int StartWithHeadlessVncPlatform(Avalonia.AppBuilder builder, string host, int port, string[] args, Avalonia.Controls.ShutdownMode shutdownMode)
Parameters​

builder Avalonia.AppBuilder

Application Builder

host string

VNC Server IP will be bind, if null or empty IPAddress.LoopBack will be used.

port int

VNC Server port will be bind

args string[]

Avalonia application start args

shutdownMode Avalonia.Controls.ShutdownMode

shut down mode Avalonia.Controls.ShutdownMode

Returns​

int