Giter VIP home page Giter VIP logo

vncsharp's Introduction

VncSharp

NOTE: This repository is no longer maintained, and the author is unable to provide help, support, or make further changes.

VncSharp is a Free and Open Source (GPL) implementation of the VNC Remote Framebuffer (RFB) Protocol for the .NET Framework. Virtual Network Computing (VNC) is a cross-platform client/server protocol allowing remote systems to be controlled over a network. VncSharp is a VNC Client Library and custom Windows Forms Control. VncSharp is also Free Software, released under the GPL. You can freely use VncSharp to bundle VNC functionality into your own .NET applications simply by dragging and dropping a control onto your form.

vncsharp's People

Contributors

bigwave avatar ghthor avatar gpailler avatar humphd avatar jvanlangen avatar kmscode avatar nebula83 avatar zzincubus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vncsharp's Issues

'Invalid subencoding value' when connecting to a remote VNC printer

Dear team,

First thank for this awesome tool.

I have an issue when trying to remotely connect to a VNC server on a Lexmark printer.

VncSharp raise the following exception:

System.Exception : 'Invalid subencoding value' in "ZlreRectangle.cs" line 52

var subencoding = rfb.ZrleReader.ReadByte();

if (subencoding >= 17 && subencoding <= 127 || subencoding == 129)
throw new Exception("Invalid subencoding value");

subencoding value is 34 in my case.

Remote form stay black and nothing happen.

Any idea why could cause this behavior ?

Fabzien.

There are some C#7.0 that can't be built in before vs 2015

You know, not all the ape use the newest VS version. :-)

VncClient.cs,Line 391 And Line 394

rfb.ReadFramebufferUpdateRectHeader(out Rectangle rectangle, out int enc);

// Build a derived EncodedRectangle type and pull-down all the pixel info
var er = factory.Build(rectangle, enc);

not working properly for mobile

I am tring to connect samsung s6 edge using vncSharp. its working but the screen displaying on PC is too reddish. Its working fine if i am connecting other pc. But in case of mobile, the output screen color getting changed. Anyone face same issue? Can someone please help?

Load Improvements

Actually the screen is being display using GDI+, has anybody done any implementation or approach to a DirecShow implementation in order to reduce de proccessor load?

Help to Use VncSharp Server As Windows Service

hello
i want to use VncSharp Server As Windows Service , to always listen to Requests to Remote any Host
i Run the server and client successfully in Windows App in C#. but when i convert server side to windows service and request a remote to service i can not see any windows form in VncSharp client (in VncSharp Remote Desktop control)!!! but in Service EventLog file i can Trace That Procees is running and all PointerEvent ,or keyboardEvent is logged to that file but i cant see any thing !!
can you Help me to Find Whats Wrong With my Code Please?!

Issues connecting to TightVNC Server

I get the following error when I call Connect():

"Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host."

The example works, but my code doesn't?

Any help would be greatly appreciated!

Less Restrictive License

Hi, thanks for this great library. I am looking for a vnc library that can be used in a closed source project. So will there ever be a chance that the license of the VncSharp library will be changed to a less restrictive one, like LGPL, BSD or MIT?

Connection timeout

Hi,
If everything is good, and VNC is showing remote panel, but if I then disconnect the ethernet cable, it takes very long time, before the .ConnectionLost event raises. ~15 sec.
Is it possible to set a timeout to a shorter period ~2 seconds..?
Someone with same problem..?

Repeater support

VNCSharp does not support UltraVNC's repeater functionality.

Fun part: I made it and it works as a proof-of-concept. Just a little bit more work and it's production ready. How do I get that in?

error when connecting to VNC server

When I tried to connect to VNC server( Windows version 6.4.0), I got the error dialog, saying "Unable to connect to the server. Error was: Only versions 3.3, 3.7, and 3.8 of the RFB Ptotocol are supported..
Check that a VNC host is running there."

Can anyone help? Thanks a lot.

Compatibility with RealVNC

The latest RealVNC server is advertising version 4.001. I've had success by modifying ReadProtocolVersion to detect this and setting verMajor to 3 and verMinor to 8.

Index out of array error when logging in to a mac

I'am using VncSharp to connect to my mac. Since a few years Apple has implemented a login screen to select which user to log on. This screen loads, but after I enter my passwort I get a disconnect event. I traced the error in the code and found the following error:

Index was outside the bounds of the array
VncSharp.Framebuffer.set_Item(Int32 index, Int32 value) in d:\Sourcesafe\RDPConsoleWpf\VncSharp\Framebuffer.cs:Zeile 71.
VncSharp.Encodings.EncodedRectangle.FillRectangle(Rectangle rect) in d:\Sourcesafe\RDPConsoleWpf\VncSharp\Encodings\EncodedRectangle.cs:Zeile 186.
VncSharp.Encodings.ZrleRectangle.Decode() in d:\Sourcesafe\RDPConsoleWpf\VncSharp\Encodings\ZrleRectangle.cs:Zeile 72.
VncSharp.VncClient.GetRfbUpdates() in d:\Sourcesafe\RDPConsoleWpf\VncSharp\VncClient.cs:Zeile 394.

Maybe this error occurse because after the login screen the screen size is adusted to the desktop size. Could you please fix this error?

white boxes popping up on client

hi,

when i connect with my VncSharp client to my UltraVNC Server white boxes popping up on client.
Everything works fine with UltraVnc Client to UltraVnc Server.

Any ideas?

Show only one VncSharp RemoteDesktop in every time

hello
i used the VncSharp controll for remote to users Desktop, but as i test the code i can see the User Event as cascade Form ! i don't want to see Event like cascading form!
is there anyway to view user desktop like a Stream ! not cascade?
Or how can i kill previous Remote control form?

Force Color Display

I am having trouble trying to figure out how to change its color display. So if it connects to a viewer I can tell it to connect in 8 bit or 16 bit. I have tried adjusting the RGB but it really did not work.

Any help would be great to achomplish this. I want to use this viewer over low bandwidth.

UTF-8 encoding support

It has error on sending UTF-8 character such as Arabic and Persian character. How can we fix it? Is it support UTF-8?

Red overlay over image

Hi,
why i get a light red overlay on my image?
i test my server using vnc viewer application and my server is ok.
but in vncsharp example i got the overlay-ed red image.
thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.