Skip to content

Latest commit

 

History

History
40 lines (39 loc) · 5 KB

readme.md

File metadata and controls

40 lines (39 loc) · 5 KB

Vanara.PInvoke.AMSI

PInvoke API (methods, structures and constants) imported from Windows Antimalware Scan Interface (AMSI.dll).

  • Includes methods from amsi.dll
  • Current NuGet release: NugetNuget

Methods - 100% API coverage (7 of 7 functions)

Native Method Header Managed Method
AmsiCloseSession amsi.h Vanara.PInvoke.AMSI.AmsiCloseSession
AmsiInitialize amsi.h Vanara.PInvoke.AMSI.AmsiInitialize
AmsiNotifyOperation amsi.h Vanara.PInvoke.AMSI.AmsiNotifyOperation
AmsiOpenSession Vanara.PInvoke.AMSI.AmsiOpenSessionInternal
AmsiScanBuffer amsi.h Vanara.PInvoke.AMSI.AmsiScanBuffer
AmsiScanString amsi.h Vanara.PInvoke.AMSI.AmsiScanString
AmsiUninitialize amsi.h Vanara.PInvoke.AMSI.AmsiUninitialize

Enumerations

Native Enum Header Managed Enum
AMSI_ATTRIBUTE amsi.h Vanara.PInvoke.AMSI.AMSI_ATTRIBUTE
AMSI_RESULT amsi.h Vanara.PInvoke.AMSI.AMSI_RESULT

Structures

Native Structure Header Managed Structure
HAMSICONTEXT Vanara.PInvoke.AMSI.HAMSICONTEXT
HAMSISESSION Vanara.PInvoke.AMSI.HAMSISESSION

Interfaces

Native Interface Header Managed Interface
IAmsiStream amsi.h Vanara.PInvoke.AMSI.IAmsiStream
IAntimalware amsi.h Vanara.PInvoke.AMSI.IAntimalware
IAntimalware2 amsi.h Vanara.PInvoke.AMSI.IAntimalware2
IAntimalwareProvider amsi.h Vanara.PInvoke.AMSI.IAntimalwareProvider
IAntimalwareProvider2 amsi.h Vanara.PInvoke.AMSI.IAntimalwareProvider2

Classes

Native Class Header Managed Class
AmsiStream Vanara.PInvoke.AMSI.AmsiStream
CAntimalware Vanara.PInvoke.AMSI.CAntimalware
SafeHAMSICONTEXT Vanara.PInvoke.AMSI.SafeHAMSICONTEXT
SafeHAMSISESSION Vanara.PInvoke.AMSI.SafeHAMSISESSION