# HCVNC **Repository Path**: dobala/HCVNC ## Basic Information - **Project Name**: HCVNC - **Description**: c# 使用的VNC客户端dll库,可以用c#快速开发VNC客户端,并且是基于TightVNC 2.7.10版本制作,支持tight编码格式,可以保证在无线条件下,基本流畅地推送屏幕。Email:390088762@qq.com - **Primary Language**: C# - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 19 - **Created**: 2022-05-03 - **Last Updated**: 2022-05-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # HCVNC A vnc client dll for c#, written in c/c++ and c#, depends on TightVnc 2.7.10, so it can use Tight to push screen faster than vncsharp use less wifi.
It contains a core dll:`HCVncCore.dll`, a common dll:`HCVNC.dll`.
One thing you need to know that 1.0.0 can only to show screen, can not control or send any file.
Email:390088762@qq.com # How To Use Those dlls depend on .Net 4.0, so you can use them on XP.

You can download dlls at:
2016-09-09 [1.0.0 Click to download](https://yunpan.cn/ckgJwmStYAiMg) secret:8467
## Use HCVncCore.dll and HCVNC.dll 1.You can import HCVNC.dll to your project and push HCVncCore.dll to your EXE folder(debug or release).
2.You can find ScreenBox(a UserControl) in your project, you can use it!
3.Use these codes to push screen:
```c# public Form1() { InitializeComponent(); screenBox1.PrepareToStart(); screenBox1.ScreenState += RemoteScreen_ScreenState; } private void RemoteScreen_ScreenState(string code) { switch (code) { case "success"://connect break; case "close": break; case "error": break; default: break; } } private void button1_Click(object sender, EventArgs e) { if (screenBox1.InvokeRequired) { screenBox1.BeginInvoke(new MethodInvoker(delegate { screenBox1.StartPushScreen(textBox1.Text); })); } else { screenBox1.StartPushScreen(textBox1.Text); } } private void button2_Click(object sender, EventArgs e) { if (screenBox1.InvokeRequired) { screenBox1.BeginInvoke(new MethodInvoker(delegate { screenBox1.CloseScreen(); })); } else { screenBox1.CloseScreen(); } } ``` You can find these in DEMO project.