Info
| Version: | 5.0.4 |
| Author(s): | David Hall |
| Last Update: | Wednesday, April 15, 2026 |
| .NET Fiddle: | Online Example |
| Project Url: | https://github.com/dahall/vanara |
| NuGet Url: | https://www.nuget.org/packages/Vanara.Core |
Install
Install-Package Vanara.Core
dotnet add package Vanara.Core
paket add Vanara.Core
Vanara.Core Download (Unzip the "nupkg" after downloading)
Dependencies
.NETFramework 2.0
- Theraot.Core(>= 3.2.0)
- Theraot.Core(>= 3.2.0)
- System.ValueTuple(>= 4.5.0)
- Theraot.Core(>= 3.2.0)
- System.Memory(>= 4.5.4)
- System.ValueTuple(>= 4.5.0)
- System.Memory(>= 4.5.4)
No dependencies.
- System.Memory(>= 4.5.4)
No dependencies.
No dependencies.
No dependencies.
Tags
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
* IEnumerable helpers for COM enumerations
* Custom marshaler for CoTaskMem pointers
* Enhanced error results classes for HRESULT, Win32Error and NTStatus
* Standard windows.h macros (e.g.
HIWORD, MAKELONG, etc.)
* Overlapped method wrapper
* Resource ID holder.