资源简介

远程控制软件,另外附带IPAddressControlLib等IP控制控件

资源截图

代码片段和文件信息

/*----------------------------------------------------------------
        // Copyright (C) 2007 L3‘Studio
        // 版权所有。 
        // 开发者:L3‘Studio团队
        // 文件名:baseControler.cs
        // 文件功能描述:基本控制类(即客户端),具有建立连接,断开连接和基本通讯功能
//----------------------------------------------------------------*/

using System;

using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.IO;

using System.Runtime.Serialization.Formatters.Binary;
using System.Runtime.Serialization;
using System.Windows.Forms;

using ICanSeeYou.bases;
using ICanSeeYou.Common;

namespace Client
{
    /// 
    /// 基本控制类
    /// 

    public class baseControler : baseCommunication
    {
        /// 
        /// Tcp客户端
        /// 

        private TcpClient client;

        /// 
        /// 服务端IP
        /// 

        private IPAddress serverAddress;
        /// 
        /// 服务端IP
        /// 

        public IPAddress ServerAddress
        {
            get { return serverAddress; }
            set { serverAddress = value; }
        }

        private bool haveConnected;
        /// 
        /// 是否已经建立连接
        /// 

        public bool HaveConnected
        {
            get
            {
                return haveConnected;
            }

        }

        //startPort作为以后扩展功能用
        // private int startPort;

        private int maxTimes;
        /// 
        /// 最大重试次数
        /// 

        public int MaxTimes
        {
            get { return maxTimes; }
            set { maxTimes = value; }
        }
        /// 
        ///等待重试时间
        /// 

        protected override int sleepTime
        {
            get
            {
                return base.sleepTime;
            }
        }

        /// 
        /// 控制端的构造函数(默认重试次数为常量:Constant.MaxTimes)
        /// 

        /// 服务端IP地址
        /// 通讯端口
        public baseControler(IPAddress serverAddress int port)
            : this(serverAddress port Constant.MaxTimes)
        {
        }
        /// 
        /// 控制端的构造函数
        /// 

        /// 服务端IP地址
        /// 通讯端口
        ///重试次数
        public baseControler(IPAddress serverAddress int port int maxTimes)
            : base()
        {
            this.serverAddress = serverAddress;
            base.port = port;
          //  this.startPort = port;
            this.maxTimes = maxTimes;
            haveConnected = false;
        }

        /// 
        /// 正在连接服务端 
        /// 

        /// 能否连接
        public void Connecting()
        {
            haveConnected = false;
      

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       5325  2007-04-09 11:14  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\Client\baseControler.cs

     文件       2380  2007-04-08 22:12  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\Client\Client.csproj

     文件       4506  2007-04-27 22:04  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\Client\FileControler.cs

     文件       4785  2007-04-27 22:05  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\Client\ScreenControler.cs

     文件       2510  2007-04-08 22:12  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\Clients\Clients.csproj

     文件      39683  2007-04-27 22:51  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\Clients\Controlers.cs

     文件       1335  2007-04-08 21:02  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\Clients\Properties\AssemblyInfo.cs

     文件       1770  2007-04-27 22:09  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\API\Api.cs

     文件       4567  2007-04-09 01:03  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\bases\baseCommunication.cs

     文件       1348  2007-04-08 17:42  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Code.cs

     文件       4078  2007-04-27 22:25  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\CodeHead.cs

     文件       1176  2007-04-27 22:11  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Explorer\baseStruct.cs

     文件        800  2007-04-27 22:13  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Explorer\DirectoryStruct.cs

     文件        857  2007-04-27 22:14  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Explorer\DisksCode.cs

     文件        776  2007-04-27 22:14  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Explorer\DiskStruct.cs

     文件       2833  2007-04-27 22:15  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Explorer\ExplorerCode.cs

     文件       1105  2007-04-27 22:16  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Explorer\FileStruct.cs

     文件       2502  2007-04-27 22:16  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\IO\FileCode.cs

     文件        907  2007-04-27 22:18  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\IO\SendScreenCode.cs

     文件       2046  2007-04-27 22:20  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Mouse_KeyBoard\KeyBoardEvent.cs

     文件       2797  2007-04-27 22:20  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Mouse_KeyBoard\MouseEvent.cs

     文件       1160  2007-04-27 22:20  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Net\HostCode.cs

     文件        766  2007-04-27 22:21  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Net\PortCode.cs

     文件        807  2007-04-27 22:22  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Simple\DoubleCode.cs

     文件        874  2007-04-27 22:22  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Codes\Simple\ThreeCode.cs

     文件       3763  2007-04-08 22:10  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Common.csproj

     文件       3233  2007-04-27 22:25  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Configure\Option.cs

     文件       1342  2007-04-27 22:26  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Configure\OptionFile.cs

     文件       1730  2007-04-27 22:27  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Configure\OptionManager.cs

     文件       2938  2007-04-27 22:27  ICanSeeYou远程控制软件(源代码)-L3_‘Studio\Backup\ICanSeeYou\Common\Configure\PassWord.cs

............此处省略749个文件信息

评论

共有 条评论