本文介绍了我如何获得PC后卫的状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好 我需要使用命令字符串检查系统防御(防病毒,防火墙,恶意软件)的状态(开/关) 找不到代码要做这个 我尝试了什么: 我试图这样做Visual Studio 2017上的任务
Hello I need to check status (on/off) of system defending (antivirus,firewall,malware) using command string can't find code to do this What I have tried: I tried to do this task on Visual studio 2017
推荐答案Visual Studio 2017只是一个IDE,与您的任务无关。 如果你的意思是windows后卫,看看 API / Windows Defender功能,例如在WDStatus功能: 返回Windows Defender的当前状态。 Visual studio 2017 is only an IDE and is not relevant for your task. If you mean the windows defender, take a look at API / Windows Defender Functions, for example at WDStatus function: Returns the current status of Windows Defender. HRESULT WDStatus( BOOL *pfEnabled );
状态Windows Defender作为布尔值。 TRUE表示Windows Defender处于启用状态。 FALSE表示Windows Defender处于禁用状态。
The status of Windows Defender as a boolean. TRUE means Windows Defender is in enabled status. FALSE means Windows Defender is in disabled status.
更多推荐
我如何获得PC后卫的状态
发布评论