HCVault.Native 1.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package HCVault.Native --version 1.5.0
                    
NuGet\Install-Package HCVault.Native -Version 1.5.0
                    
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="HCVault.Native" Version="1.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HCVault.Native" Version="1.5.0" />
                    
Directory.Packages.props
<PackageReference Include="HCVault.Native" />
                    
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 HCVault.Native --version 1.5.0
                    
#r "nuget: HCVault.Native, 1.5.0"
                    
#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 HCVault.Native@1.5.0
                    
#: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=HCVault.Native&version=1.5.0
                    
Install as a Cake Addin
#tool nuget:?package=HCVault.Native&version=1.5.0
                    
Install as a Cake Tool

HCVault.Native

NuGet package with the prebuilt native libraries of hcvault-core — a portable build of the VeraCrypt volume core behind a small C API (vcapi.h): create, open and modify VeraCrypt containers, normal and hidden volumes, all cipher/KDF combinations, keyfiles, PIM, header re-encryption, exFAT via the bundled FatFs (ChaN R0.15).

The package follows the standard NuGet runtimes/ layout:

Runtime Library
win-x64, win-x86, win-arm64 hcvault-core.dll
linux-x64 libhcvault-core.so
android-arm64, android-arm, android-x86, android-x64 libhcvault-core.so (API 21+, 16 KB-page aligned)

Usage

Reference HCVault.Core (the managed wrapper) plus this package, and build your application with a RuntimeIdentifier — the matching library is copied to your output (or packaged into the APK lib/<abi>/ on Android) and found by the wrapper's loader automatically.

Building without a RuntimeIdentifier copies no native library; either set one (-r linux-x64 …), place the library next to the application manually, or point the VCNATIVE_HOME environment variable at it.

Need a platform not listed above (macOS, other architectures)? Build the core from the repository sources instead: it is a plain CMake project (cmake -S native -B build && cmake --build build), and HCVault.Core picks up manually placed libraries through the same probing rules.

License and provenance

Packaging and port layer: Apache-2.0. The vendored VeraCrypt sources are under the VeraCrypt license (LICENSE-VeraCrypt.txt in this package), dual-licensed Apache-2.0 / TrueCrypt 3.0. FatFs is BSD-style.

This project is independent and not affiliated with IDRIX or the VeraCrypt project. The code was written with AI assistance and has not been security-audited.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on HCVault.Native:

Package Downloads
HCVault.Core

Managed wrapper around the VeraCrypt volume core: create, open, read and write VeraCrypt encrypted containers (normal and hidden volumes, all cipher/KDF combinations, keyfiles, PIM) without mounting them. Pulls in the matching HCVault.Native package (prebuilt native libraries for Windows, Linux and Android) automatically; build your own from the repository sources with CMake if you need another platform.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.6.3 80 10/16/2026
1.6.2 83 10/16/2026
1.6.0 102 10/14/2026
1.5.0 90 10/12/2026
1.4.1 106 10/9/2026
1.4.0 109 9/29/2026

1.5.0: no native changes - version-aligned with HCVault.Core 1.5.0 (container-size helpers, async API, FAT16 on-disk fix); the binaries are identical to 1.4.0 and interoperate with it.