Giter VIP home page Giter VIP logo

hcvnc's Introduction

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:[email protected]

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 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:

        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.

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.