AmsiResult Enum

Represents the result of an AMSI scan.

public enum AmsiResult

Remarks

An antimalware provider may return any value between AmsiResult.NotDetected and 32767 as an estimated risk level: the larger the value, the riskier it is to continue with the content. Those values are provider specific and may identify a malware family or ID.

Fields

NameValueDescription
Clean0Known good. No detection found, and the result is likely not going to change after a future definition update.
NotDetected1No detection found, but the result might change after a future definition update.
BlockedByAdminStart16384Administrator policy blocked this content on this machine (beginning of range).
BlockedByAdminEnd20479Administrator policy blocked this content on this machine (end of range).
Detected32768Detection found. The content is considered malware and should be blocked.