HeadlessVncPlatformExtensions Class
Definition
public class HeadlessVncPlatformExtensions
Methods
| Name | Description |
|---|---|
| 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