我如何获得PC后卫的状态

编程入门 行业动态 更新时间:2024-10-10 01:18:23
本文介绍了我如何获得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后卫的状态

本文发布于:2023-11-28 17:46:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1643365.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:后卫   如何获得   状态   PC

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!