c#中的Peramanent事件使用者(WMI) [英] Peramanent event consumer(WMI) in c#

查看:181
本文介绍了c#中的Peramanent事件使用者(WMI)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试在远程计算机上注册一个永久性事件消费者,我能够注册一个事件,但是当事件发生在远程机器上时,它不会转发响应...


注册代码

I have been trying to register a permanent event consumer in a remote machine, i am able to register for an event, but when the event occurs in remote machine it wont forward back the response...

Code for registering

展开 | 选择 | Wrap | 行号

推荐答案

添加到上一个问题...


Windows 2003服务器和Vista之后不支持永久事件消费者..


所以我们仍然可以注册永久事件??如果是,是否有其他方法?我找不到一个..感谢任何帮助...


问候

Dheeraj Joshi
Adding to previous question...

There is no support for permanent event consumer after Windows 2003 server and Vista..

So can we still register permanent events?? If yes, is there any alternative methods? I could not find one.. Any help is appreciated...

Regards
Dheeraj Joshi


编辑:哎呀,这会教我不读。
whoops, that will teach me not to read
So your piece of software, listens for events on a remote machine, then attempts to fire the same event on a different remote machine?


基本上我正在尝试在PC2(Remote comp)中注册一个事件。当事件发生时,PC2应该将事件通知转发给我在PC1(我的机器)上运行的软件。


问候

Dheeraj Joshi
Basically i am trying to register for an event in PC2(Remote comp).. When event occurs there PC2 is supposed to forward the event notification to my software running on PC1(My machine).

Regards
Dheeraj Joshi


这篇关于c#中的Peramanent事件使用者(WMI)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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