如何从远程计算机获取信息并在本地计算机上显示? [英] How to get the information from remote machines and show it on local machine?

查看:109
本文介绍了如何从远程计算机获取信息并在本地计算机上显示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个可以在远程计算机中添加/配置的Windows服务,以便我可以在本地计算机上调用它们以获取信息(如,磁盘空间,CPU利用率,正在进行的进程等)远程计算机,不会中断远程计算机上正在进行的任何进程。怎么可能?



我尝试了什么:



我尝试在c#中构建这个简单的代码,我能够在记事本文件中获取我的机器的磁盘空间,但是如何从这里开始是一件具有挑战性的事情。如果可能的话,请帮助我或建议我更好的方式。



谢谢!

I want to create a windows service that can be added/configured in remote machines so that I could call them on local machine in order to get the information (Like, Disk space, CPU utilization, on going Processes etc) from the remote machine without disrupting any ongoing processes on remote machines. How is it possible?

What I have tried:

I have tried building this simple code in c# and I am able to get the disk space of my machine in a notepad file but how do I proceed from here is something challenging. Please assist me on this or suggest me better way if possible.

Thanks!

推荐答案

引用:

我尝试在c#中构建这个简单的代码,我可以在记事本文件中获取我的机器的磁盘空间但是如何继续从这里是具有挑战性的东西

I have tried building this simple code in c# and I am able to get the disk space of my machine in a notepad file but how do I proceed from here is something challenging

下一步是编写TCP服务器(它将在远程机器上运行)和TCP客户端(它将在本地机器上运行)。您可以在网上找到很多很多例子。

The next step is writing a TCP server (it will run on the remote machine) and a TCP client (it will run on the local machine). You may find many, many examples on the web.


这篇关于如何从远程计算机获取信息并在本地计算机上显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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