Skip to content

camiteca/OldManOfTheVNC-WPF

 
 

Repository files navigation

Old Man of the VNC

A fork of the original "Old Man of the VNC". This package provides a neat way of getting VNC working as a UserControl in a WPF environment.

The logic of the VNC connection is encapsulated in OmotVNC.Protocol. There is a new library called OmotVNC that contains a native WPF control that enables you to host a VNC connection.

It would look like this in XAML:

<Controls:VncHost x:Name="VncHost" Scale="{Binding Scale}" ScaleToFit="{Binding ScaleToFit}" />

In the code-behind you should do as follows:

// start a connection to the VNC server
await VncHost.ConnectAsync(dialog.Server, dialog.Port, dialog.Password);

// update a connection (this should not be necessary)
await VncHost.UpdateAsync();

// stops a connection
await VncHost.DisconnectAsync();

TODO: Alternative keyboard layouts, better UI story for touch, configuration, pinning connections, screen capture, etc.

About

A simple VNC control compatible with WPF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%