Vanara.Core
This library includes shared methods, structures and constants for use throughout the Vanara assemblies. Think of it as windows.h with some useful extensions. It includes: * Extension methods for working with enumerated types (enum), FILETIME, and method and property extractions via reflection * Extension and helper methods to marshaling structures arrays and strings * SafeHandle based classes for working with memory allocated via CoTaskMem, HGlobal, or Local calls that handles packing and extracting arrays, structures and raw memory * Safe pinning of objects in memory * Memory stream based on marshaled memory
Install
dotnet add package Vanara.Core --version 4.2.1
Install-Package Vanara.Core -Version 4.2.1
<PackageReference Include="Vanara.Core" Version="4.2.1" />
Frameworks
Dependencies
Adoption guide
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Compatibility metadata lists 9 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.