C#远程访问应用程序 [英] C# remote access app

查看:59
本文介绍了C#远程访问应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个类似于teamviewer的应用程序,但我自己的应用程序。我有几个问题。



到目前为止,我有:

1)我的桌面被捕获并显示正常。

2)我有一个套接字服务器接受客户端异步并接受命令并将其发回。



我的问题:

1)如果我的客户端将RDP流发送到服务器,如何存储此流?

2)存储连接的客户端信息的最佳方法是什么?把它放在课堂上?或者将其写入数据库?

3)如何存储数据流?

4)如果客户端连接如何提取数据流?



先谢谢你了!



我的尝试:



浏览论坛并找到类似的答案,但对我来说没什么特别的。

I want to make an app similar to teamviewer but my own. I have a few questions.

So far I have:
1) My desktop captured and displayed fine.
2) I have a socket server accepting clients asynchronous and accepting commands and sending them back.

My Questions:
1) If my client sends the RDP stream to the server, how do I store this stream?
2) What’s the best way to store the connected client info? Keep it in a class? Or write it to a db?
3) How do I store the data stream?
4) If a client connects how do I pull that stream?

Thank You in advanced!

What I have tried:

Browsed the forums and found similar answers but nothing specific to me.

推荐答案

这些CodeProject文章可能会让你开始:

Multi RDP Client .NET [ Windows远程桌面应用程序 [ ^ ]
These CodeProject articles might get you started:
Multi RDP Client .NET[^]
Using streaming: Windows Remote Desktop Application[^]


使用MemoryStream。



感谢指针。
Went with MemoryStream.

Thanks for the pointer.


这篇关于C#远程访问应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆