通过创建进程连接远程计算机 [英] Connecting remote machine by creating a process

查看:99
本文介绍了通过创建进程连接远程计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想连接一台远程机器,在这台远程机器上我正在运行另一个应用程序。那么如何通过在本地计算机上运行进程来监视另一台远程计算机。

I want to connect a remote machine, in this remote machine i am running another app. so how to monitor another remote machine by running a process in Local machine.

我在这里使用 

Here i have use 

http://metah.ch/ blog / 2010/10 / impersonation-with-c-2 / link但它没有奏效。

http://metah.ch/blog/2010/10/impersonation-with-c-2/ link but it didnot worked.

问候,

Tulasikumar

Tulasikumar

推荐答案

您好Tulasikumar,

Hi Tulasikumar ,

感谢您在此发帖。

您是否想使用
EvtOpenSession
用于创建远程会话上下文?

Did you wan to use the EvtOpenSession function to create a remote session context ?

调用此函数时,指定要连接的远程计算机的名称,用于建立连接的用户凭据以及类型用于验证用户身份的身份验证。要指定当前用户,请将
域,用户和密码成员设置为 NULL

When you call this function, you specify the name of the remote computer that you want to connect to, the user credentials to use to make the connection, and the type of authentication to use to authenticate the user. To specify the current user, set the Domain, User, and Password members to NULL.

这是一个连接到
远程计算机。

根据我的搜索,这是远程桌面服务API。 您可以参考这些文档。

Based on my search, Here is remoter desktop service API.  You can reference these document.

远程桌面服务API

远程桌面服务虚拟频道

最好的问候,

Hart

编辑:

如果您想使用C#语言从本地访问其他远程计算机。

If you want to use C# language to access other remoter computer from local.

你可以看到
远程桌面c#.NET演示。
 

you can see the remote desktop c# .NET demo.  

如果您的问题已经解决,请记得关闭您的帖子,将有用的帖子标记为可能对其他有相同问题的人有帮助的帖子。

If your issue has been resolved, please remember to close your thread by marking useful posts as answer that can be helpful for other person with same issue.


这篇关于通过创建进程连接远程计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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