HCVault.Native 1.6.3

dotnet add package HCVault.Native --version 1.6.3
                    
NuGet\Install-Package HCVault.Native -Version 1.6.3
                    
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.6.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HCVault.Native" Version="1.6.3" />
                    
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.6.3
                    
#r "nuget: HCVault.Native, 1.6.3"
                    
#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.6.3
                    
#: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.6.3
                    
Install as a Cake Addin
#tool nuget:?package=HCVault.Native&version=1.6.3
                    
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) and build your application with a RuntimeIdentifier — HCVault.Core depends on this package, so the matching library is pulled in automatically, copied to your output (or packaged into the APK lib/<abi>/ on Android) and found by the wrapper's loader. Reference this package explicitly only to force a different version.

Building without a RuntimeIdentifier (the default F5/debug build) copies the library matching the machine you build on into the output automatically

  • convenient for development. For deployment, publishing or cross-building, set an explicit RuntimeIdentifier (-r linux-x64 …) so the correct platform's library is selected.

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.6.3: library update, vcapi v4 to v6 - vc_open_volume gains a kdf_name parameter (NULL = auto-detect as before, a KDF name = open with exactly that KDF), and the exFAT file API gains vc_exfat_tell / vc_exfat_size / vc_exfat_flush for streaming access. Fixed: the exFAT bridge passed unprefixed paths to FatFs, which resolves them against a process-global current drive - with two volumes mounted at once, operations could hit the wrong mount; paths are now pinned to their own mount and all FatFs entry points are serialized, so volumes can be used concurrently from multiple threads. Volumes are compatible with 1.4.x/1.5.x/1.6.x; HCVault.Core 1.6.3 requires this vcapi v6 build.