udp c语言 server client检查用户名密码,C程的远程控制管理设计.doc

C程的远程控制管理设计

学位论文摘要与正文内容提纲:

简述背景,提出问题,说明题目的意义与价值。

分析研究相关有理论、原理与技术。

提出理论方案与技术路线。

研究的工作与内容及创新

验证结论、性能指标。

结果与结论的理论与实际价值。

*******************************************************

基于C#的远程控制管理设计

摘 要

1.xxx

本程序是用Microsoft平台下的C#语言实现远程控制。C#是一种简单、现代、面向对象且类型安全的编程语言。本系统中,客户端使用的是C#的窗体应用程序,服务器端用的是服务应用程序。2

3

在程序中,用套接字实现了远程信息交换,它的具体功能主要是文件上传和文件下载。在这之中,用TcpClient和TcpListener来完成远程连接,服务器端打开一个端口监听来自网络中的信息流,客户端使用服务器端的IP和监听的端口号取得与服务器的连接。客户端使用TcpClient的对象来初始化NetWorkStream对象,从而实现对字节流的传送的接收操作;服务器端使用TcpListener的对象来初始化NetWorkStream对象,从而获得与客户端的网络流交换。

本程序中客户端通过发送关机命令实现远程关闭服务器电脑;使用服务器的MAC地址实现远程唤醒服务器。客户端向服务器发送16次服务器的MAC地址,便能实现远程服务器的唤醒操作。

在程序中使用键盘钩子(HOOK)模拟键盘、鼠标事件模拟鼠标。要实现桌面的远程控制,首先就是获取服务器的屏幕,用类似于传送文件的方式把服务器屏幕图片流传送到客户端显示。在客户端用键盘钩子获取所有按键事件,能够屏蔽系统对键盘的响应(如按下Windows键,开始菜单不会弹出),只把按下的键的健值记录下来传送到服务器端;客户端获取鼠标是用鼠标事件获取,包括左右键的单双击及中键的滚动。服务器端获得客户端传送过来的键盘、鼠标事件后,用API实现模拟按键操作和模拟鼠标点击、滚动操作。从而达到客户端远程控制服务器端的目的。4

5

关键字:套接字、键盘钩子、C/S结构、远程控制

C#-Based Design Of The Remote Control and Management

Abstract:This software use C# under MS platform to achiveve computer remote control.c# is a programming language that is simple,modern,object-oriented and type of security.In this system,client-side use Windows Form application and service-side use Windows Service application to achieve.

In the program,Socket is used to complete remote infomation exchange.It's specific function is upload a file or folder and download a file or folder.In Socket,two class TcpClient and TcpListener realize remote connect throw Internet, service-side open a port to listen the information form Internet,and client-side connect with the service-side by IP and port of server computer.Client-side use class TcpClient to initialize NetWorkStream's object,so that NetWorkStream's object can get send and get byte stream with service computer.Server-side use TcpListener to initialize NetWorkStream's object to complete the same work of Client-side. In the program,client-side send "Shut Down" command to service-side and server computer close itself.Client-side use the MAC ad

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值