C# Non-Windows Remote Desktop

让人想犯罪 __ 提交于 2019-12-08 11:05:18

问题


I'd like to create a simple remote desktop application (you can view the screen remotely and interact with it). As a first step, I've tried taking screenshots, 1 per second, compressing them to JPEG and sending them over (without interaction), but I've found that even over LAN this is very slow.

Do you have any hints on how to do this better? Is there C# sample code for projects like this?


回答1:


You might consider looking at VNC's implementation. VNC is open source and does what you want. I know of an open-source .NET client for VNC: http://dotnetvnc.sourceforge.net/

Hopefully this will give you some direction for your project.




回答2:


Just-in-time idea, if you don`t want to use vnc - and want to implement this yourself (for learning, how to invent wheels, for example) - send not full screenshot, but changes from previous - somethins like *.avi format (I forgot details, but something like: one full card, 15 changes, one full card, 15 changes and so on).



来源:https://stackoverflow.com/questions/1595170/c-sharp-non-windows-remote-desktop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!