我可以使用WMI调用创建服务吗? [英] Can i create a service with WMI Calls?

查看:70
本文介绍了我可以使用WMI调用创建服务吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如果我使用Visual C ++从Windows服务调用WMI查询是否安全?


如果是这样的话我可以获得在Windows服务中调用的WMI查询的任何示例。


感谢您的帮助!!


问候,


Ravi Raj Nukala




此致,Ravi Raj Nukala

解决方案

<强>>>我可以使用WMI调用创建服务吗?


请参阅
创建Win32_Service类的方法


有关从C ++调用WMI的示例,请参阅
WMI C ++应用程序示例


Hi,

Is it safe if i call a WMI query from a Windows Service using Visual C++?

if so is there any example i can get for the WMI query that is called in the windows service.

Thank you for the help!!

Regards,

Ravi Raj Nukala


Regards, Ravi Raj Nukala

解决方案

>> Can I create a service with WMI Calls?

See Create method of the Win32_Service class

For examples of calling WMI from C++ see WMI C++ Application Examples


这篇关于我可以使用WMI调用创建服务吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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