• 大小: 6.07MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-01
  • 语言: C/C++
  • 标签: C#  VNC  远程控制  

资源简介

C#Form版的一个远程屏幕共享/控制的项目,类似于C++的VNC,这是一个完整的项目,需要的话你可以下载。

资源截图

代码片段和文件信息

#region License
/*
RemoteViewing VNC Client/Server Library for .NET
Copyright (c) 2013 James F. Bellinger 
All rights reserved.

Redistribution and use in source and binary forms with or without
modification are permitted provided that the following conditions are met: 

1. Redistributions of source code must retain the above copyright notice this
   list of conditions and the following disclaimer. 
2. Redistributions in binary form must reproduce the above copyright notice
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution. 

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“ AND
ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES
(INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#endregion

using System;
using System.Collections.Generic;

namespace RemoteViewing
{
    internal sealed class Throw
    {
        Throw()
        {

        }

        public static Throw If
        {
            get { return null; }
        }
    }

    internal static class ThrowExtensions
    {
        public static Throw True(this Throw self bool condition string paramName)
        {
            if (condition) { throw new ArgumentException(paramName); }
            return null;
        }

        public static Throw False(this Throw self bool condition string paramName)
        {
            if (!condition) { throw new ArgumentException(paramName); }
            return null;
        }

        public static Throw Negative(this Throw self int value string paramName)
        {
            if (value < 0) { throw new ArgumentOutOfRangeException(“paramName“); }
            return null;
        }

        public static Throw Null(this Throw self T value)
        {
            if (value == null) { throw new ArgumentNullException(); }
            return null;
        }

        public static Throw Null(this Throw self T value string paramName)
        {
            if (value == null) { throw new ArgumentNullException(paramName); }
            return null;
        }

        public static Throw OutOfRange(this Throw self IList buffer int offset int count)
        {
            Throw.If.Null(buffer “buffer“);
            if (offset < 0 || offset > buf

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-11-04 19:03  RemoteViewing\
     目录           0  2018-08-02 09:28  RemoteViewing\.vs\
     目录           0  2018-11-04 19:04  RemoteViewing\.vs\RemoteViewing\
     目录           0  2018-08-02 09:39  RemoteViewing\.vs\RemoteViewing\v14\
     文件      177664  2018-09-04 09:42  RemoteViewing\.vs\RemoteViewing\v14\.suo
     目录           0  2018-11-04 19:04  RemoteViewing\.vs\RemoteViewing\v15\
     文件      187904  2018-11-04 22:49  RemoteViewing\.vs\RemoteViewing\v15\.suo
     目录           0  2018-11-04 19:04  RemoteViewing\.vs\RemoteViewing\v15\Server\
     目录           0  2018-11-04 19:04  RemoteViewing\.vs\RemoteViewing\v15\Server\sqlite3\
     文件           0  2018-11-04 19:04  RemoteViewing\.vs\RemoteViewing\v15\Server\sqlite3\db.lock
     文件        4096  2018-11-04 19:04  RemoteViewing\.vs\RemoteViewing\v15\Server\sqlite3\storage.ide
     文件       32768  2018-11-04 19:04  RemoteViewing\.vs\RemoteViewing\v15\Server\sqlite3\storage.ide-shm
     文件     1886992  2018-11-04 19:04  RemoteViewing\.vs\RemoteViewing\v15\Server\sqlite3\storage.ide-wal
     文件         387  2013-05-12 06:48  RemoteViewing\Changes.txt
     文件        1414  2013-05-12 06:52  RemoteViewing\License.txt
     目录           0  2018-08-02 09:28  RemoteViewing\RemoteViewing\
     目录           0  2018-08-01 09:33  RemoteViewing\RemoteViewing\Properties\
     文件        2124  2013-05-12 02:54  RemoteViewing\RemoteViewing\Properties\AssemblyInfo.cs
     文件        4062  2018-08-08 11:03  RemoteViewing\RemoteViewing\RemoteViewing.csproj
     文件        3695  2013-05-12 02:53  RemoteViewing\RemoteViewing\Throw.cs
     目录           0  2018-08-20 14:55  RemoteViewing\RemoteViewing\Utility\
     文件        1866  2013-05-12 05:30  RemoteViewing\RemoteViewing\Utility\AutoClear.cs
     文件         700  2018-08-08 10:52  RemoteViewing\RemoteViewing\Utility\ConnectEventArgs.cs
     文件        3701  2018-08-20 14:55  RemoteViewing\RemoteViewing\Utility\PeriodicThread.cs
     文件        2620  2013-05-12 06:40  RemoteViewing\RemoteViewing\Utility\PollingSynchronizationContext.cs
     文件        3097  2013-05-12 06:42  RemoteViewing\RemoteViewing\Utility\SynchronizedCall.cs
     目录           0  2018-08-20 10:59  RemoteViewing\RemoteViewing\Vnc\
     文件        1849  2013-05-12 03:25  RemoteViewing\RemoteViewing\Vnc\AuthenticationMethod.cs
     文件        2864  2013-05-12 02:53  RemoteViewing\RemoteViewing\Vnc\framebufferChangedEventArgs.cs
     文件        1900  2018-08-13 10:17  RemoteViewing\RemoteViewing\Vnc\IVncframebufferSource.cs
     文件        2660  2013-05-12 03:20  RemoteViewing\RemoteViewing\Vnc\KeyChangedEventArgs.cs
............此处省略203个文件信息

评论

共有 条评论