将VNC集成到Win Forms应用程序中 [英] Integrating VNC into a Win Forms Application

查看:93
本文介绍了将VNC集成到Win Forms应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个帮助台程序,并希望集成vnc。我希望客户打开一个自定义程序,它连接到帮助台程序并打开一个vnc连接。



如何做到这一点的想法将不胜感激!

解决方案

您当然需要在客户端的Firewall中创建一个明确的漏洞。如果不需要,防火墙将毫无用处。这不合逻辑吗?



对于VNC,这是图形桌面共享系统( http://en.wikipedia.org/wiki/VNC [ ^ ])。完全不清楚为什么在应用程序级别与VNC交互。对我来说,这看起来是一个适得其反的想法。适当的解决方案是提供一些服务台服务(专用或基于HTTP,不需要对防火墙进行任何操作,因为HTTP的漏洞是默认准备的:-))和客户端软件(专用,或只是Web浏览器) )。



对于像服务台这样简单的事情,基于Web的方法看起来最明显和最具吸引力。而且,当您在问题标签中提到C#时,最易维护和自然的项目将是ASP.NET应用程序。看: http://www.asp.net/get-started [ ^ ] :-)。



-SA

I am creating a help desk program and want to integrate vnc. I want the client to open a custom program wich connects to the help desk program and opens a vnc connection.

Ideas on how to do this would be greatly appreciated!

解决方案

You certainly need to create an explicit hole in Firewall on the client side. If it was not required, firewalls would be totally useless. Isn't that logical?

As to VNC, this is graphical desktop sharing system (http://en.wikipedia.org/wiki/VNC[^]). It's totally unclear why interacting with VNC at the level of application program. It looks like a counter-productive idea to me. The adequate solution would be having some help desk service (specialized, or HTTP based, which would not require any manipulations with the firewalls because the hole for HTTP is prepared by default :-)) and client software (specialized, or just the Web browser).

For such a simple thing as a help desk, the Web-based approach looks the most apparent and attractive. And, as you mention C# in your question tags, the most maintainable and natural project would be an ASP.NET application. Look: http://www.asp.net/get-started[^] :-).

—SA


这篇关于将VNC集成到Win Forms应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆