【问题标题】:Windows - How to trigger Anti Virus Updates via windows API / .NET / C# / WMI?Windows - 如何通过 Windows API / .NET / C# / WMI 触发防病毒更新?
【发布时间】:2013-04-03 16:03:06
【问题描述】:

有没有办法不使用 AntiVirus API 来触发 Anti Virus 更新过程?我是否知道安全中心检测到杀毒软件,但你们如何检测和更新?

有很多关于如何使用 C#/WMI 在 Windows 上检测防病毒的帖子,但是我可以触发更新过程吗?请问有什么想法吗?

Detect Antivirus on Windows using C#

在此致谢,

【问题讨论】:

    标签: c# wmi antivirus


    【解决方案1】:

    大多数程序允许您使用命令行提示符来执行更新等。

    对于 Windows Defender,它带有一个命令行实用程序,可让您通过命令行运行更新、扫描等。见TN Run (and Automate) Windows Defender from the Command Line

    Windows Defender:

    MpCmdRun.exe -SignatureUpdate
    

    AVG(反垃圾邮件和程序/病毒数据库更新):

    avgmfapx.exe /AppMode=UPDANTISPAM 
    avgmfapx.exe /AppMode=UPDATE
    

    一旦你知道命令行命令,你可以Run Command Prompt Commands执行更新等。

    【讨论】:

    • 感谢您的回答。是否有收集此类命令行的知识库?
    • @EldadCohen 我不知道,但Google 是你的朋友。 :)
    • @EldadCohen 不要忘记将问题标记为已回答,如果它回答了您的问题。 :)
    猜你喜欢
    • 2017-09-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-09-05
    • 1970-01-01
    • 2011-12-04
    • 2017-04-14
    • 2012-06-20
    相关资源
    最近更新 更多