VOOZH about

URL: https://www.nuget.org/packages/Vanara.PInvoke.AMSI/

⇱ NuGet Gallery | Vanara.PInvoke.AMSI 5.0.5




👁 Image
Vanara.PInvoke.AMSI 5.0.5

Prefix Reserved
dotnet add package Vanara.PInvoke.AMSI --version 5.0.5
 
 
NuGet\Install-Package Vanara.PInvoke.AMSI -Version 5.0.5
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.AMSI" Version="5.0.5" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vanara.PInvoke.AMSI" Version="5.0.5" />
 
Directory.Packages.props
<PackageReference Include="Vanara.PInvoke.AMSI" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vanara.PInvoke.AMSI --version 5.0.5
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vanara.PInvoke.AMSI, 5.0.5"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Vanara.PInvoke.AMSI@5.0.5
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vanara.PInvoke.AMSI&version=5.0.5
 
Install as a Cake Addin
#tool nuget:?package=Vanara.PInvoke.AMSI&version=5.0.5
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

👁 Vanara

Vanara.PInvoke.AMSI NuGet Package

👁 Version
👁 Build status

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

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the MyGet build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.AMSI

Functions Enumerations Structures Interfaces
AmsiCloseSession<br>AmsiInitialize<br>AmsiNotifyOperation<br>AmsiOpenSession<br>AmsiScanBuffer<br>AmsiScanString<br>AmsiUninitialize<br> AMSI_ATTRIBUTE<br>AMSI_RESULT<br><br><br><br><br><br> HAMSICONTEXT<br>HAMSISESSION<br><br><br><br><br><br> IAmsiStream<br>IAntimalware<br>IAntimalware2<br>IAntimalwareProvider<br>IAntimalwareProvider2<br><br><br>
Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 is compatible.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 is compatible.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net8.0-windows7.0 net8.0-windows7.0 is compatible.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net9.0-windows7.0 net9.0-windows7.0 is compatible.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed.  net10.0-windows7.0 net10.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 is compatible. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 is compatible.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Vanara.PInvoke.AMSI:

Package Downloads
Vanara.SystemServices

Classes for system related items derived from the Vanara PInvoke libraries. Includes extensions for Process (privileges and elavation), FileInfo (compression info), Shared Network Drives and Devices, and ServiceController (SetStartType) that pull extended information through native API calls.

Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

AmsiSharp

Asynchronous and efficient API for scanning files against malware in C#

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.5 1,161 5/16/2026
5.0.4 1,297 4/15/2026
5.0.3 287 4/9/2026
5.0.1 768 3/11/2026
5.0.0 2,131 1/12/2026
4.2.1 3,369 9/9/2025
4.2.0 559 8/25/2025
4.1.6 907 6/20/2025
4.1.4 712 6/7/2025
4.1.3 1,669 4/24/2025
4.1.2 638 4/16/2025
4.1.1 624 3/7/2025
4.1.0 491 3/7/2025
4.0.6 414 2/24/2025
4.0.5 439 2/8/2025
4.0.4 2,943 9/13/2024
4.0.3 543 8/5/2024
4.0.2 494 6/24/2024
4.0.1 1,051 4/30/2024
Loading failed

Currently implements:

Functions
AmsiCloseSession AmsiInitialize AmsiNotifyOperation AmsiOpenSession AmsiScanBuffer AmsiScanString AmsiUninitialize

Structures
HAMSICONTEXT HAMSISESSION

Interfaces
IAmsiStream IAntimalware IAntimalware2 IAntimalwareProvider IAntimalwareProvider2