Table of Contents

Class InstalledSecuritySoftware

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

The antivirus products Windows Security Center reports as installed and switched on.

public static class InstalledSecuritySoftware
Inheritance
InstalledSecuritySoftware
Inherited Members

Remarks

Used only to point a player whose connection is being blocked at the right help section. Nothing is sent anywhere.

Windows desktop only: browsers have no way to list installed software, Linux has no equivalent registry, and Windows Server has no Security Center. Everywhere else the list stays empty and the help page asks the player to pick their product.

Read through the documented product-list API (wscapi, Windows 8 and later) with direct vtable calls rather than WMI or COM interop, so it needs neither System.Management nor runtime-callable-wrapper support. Both interfaces derive from IDispatch, so their own methods start at slot 7. The online reference pages say IUnknown, but the SDK header, the MinGW header and the Windows metadata agree on IDispatch.

The query runs once, on its own thread with its own COM apartment, and is started early so the answer is ready before any connection fails. A query that has not finished yet simply reads as empty.

Properties

AntivirusNames

The antivirus products Security Center reports as on. Empty when unknown.

public static IReadOnlyList<string> AntivirusNames { get; }

Property Value

IReadOnlyList<string>

Methods

BeginDetect()

Starts the one-time query in the background. Safe to call more than once and on any platform.

public static void BeginDetect()