Vanara.Core 3.3.0

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-Package Vanara.Core -Version 3.3.0
dotnet add package Vanara.Core --version 3.3.0
<PackageReference Include="Vanara.Core" Version="3.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.Core --version 3.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Currently implements:

Classes
IHistory<T>, IMemoryMethods, ISafeMemoryHandle, ISimpleMemoryMethods, IVanaraMarshaler, AlignedMemory<T>, BitHelper, ByteSizeFormatter, ComConnectionPoint, ComReleaser<T>, ComReleaserFactory, ComStream, ComTypeExtensions, CorrespondingTypeAttribute, CoTaskMemoryMethods, EnumerableEqualityComparer<T>, EnumExtensions, EventedList<T>, FileTimeExtensions, Formatter, FormatterComposer, GenericSafeHandle, GenericVirtualReadOnlyDictionary<T>, HexDempHelpers, HGlobalMemoryMethods, History<T>, InteropExtensions, IntPtrConverter, IOExtensions, LibHelper, ListChangedEventArgs<T>, MarshalingStream, MemoryMethodsBase, NativeMemoryEnumerator<T>, NativeMemoryStream, PinnedObject, ReflectionExtensions, ReflectionExtensions, SafeAllocatedMemoryHandle, SafeByteArray, SafeCoTaskMemHandle, SafeCoTaskMemString, SafeCoTaskMemStruct<T>, SafeGuidPtr, SafeHGlobalHandle, SafeHGlobalStruct<T>, SafeMemoryHandle<T>, SafeMemoryHandleExt<T>, SafeMemString<T>, SafeMemStruct<T>, SparseArray<T>, StringHelper, TryGetValueDelegate, UntypedNativeMemoryEnumerator, VanaraCustomMarshaler<T>, VanaraMarshaler, VanaraMarshalerAttribute, VirtualDictionary<T>, VirtualReadOnlyDictionary<T>

Structures
BOOL, BOOLEAN, EnumFlagIndexer<T>, GuidPtr, RefEnumerator<T>, SizeT, StrPtrAnsi, StrPtrAuto, StrPtrUni, time_t

Enumerations
CorrespondingAction, StringListPackMethod

NuGet packages (56)

Showing the top 5 NuGet packages that depend on Vanara.Core:

Package Downloads
Vanara.PInvoke.Shared
Shared methods, structures and constants for use throughout the Vanara.PInvoke assemblies. Includes: * 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 * Shared structures and enums (see release notes)
Vanara.PInvoke.Kernel32
PInvoke API (methods, structures and constants) imported from Windows Kernel32.dll.
Vanara.PInvoke.Security
PInvoke API (methods, structures and constants) imported from Windows AdvApi32.dll, Authz.dll and Secur32.dll.
Vanara.PInvoke.Gdi32
PInvoke API (methods, structures and constants) imported from Windows Gdi32.dll
Vanara.PInvoke.User32
PInvoke API (methods, structures and constants) imported from Windows User32.dll.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Vanara.Core:

Repository Stars
zhupingqi/RuiJi.Net
crawler framework, distributed crawler extractor
Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher
⇒ Disable Chrome's Developer Mode Extension Warning Popup & Elision WWW/HTTPS Hiding & Debugging Extension Popup

Version History

Version Downloads Last updated
3.3.0 353 11/20/2020
3.2.21 407 11/13/2020
3.2.20 873 11/8/2020
3.2.19 1,733 10/23/2020
3.2.18 461 10/21/2020
3.2.17 4,041 9/20/2020
3.2.16 817 9/7/2020
3.2.15 751 8/30/2020
3.2.14 711 8/20/2020
3.2.13 1,421 7/27/2020
3.2.12 889 7/13/2020
3.2.11 1,626 6/28/2020
3.2.10 2,448 6/14/2020
3.2.9 1,597 6/3/2020
3.2.7 3,181 5/4/2020
3.2.6 1,346 4/21/2020
3.2.5 1,013 4/15/2020
3.2.4 969 4/12/2020
3.2.3 2,228 4/1/2020
3.2.2 861 3/24/2020
3.2.1 1,279 3/17/2020
3.2.0 1,365 2/27/2020
3.1.9 1,480 1/17/2020
3.1.8 1,023 1/13/2020
3.1.7 939 1/6/2020
3.1.6 1,097 12/12/2019
3.1.5 1,198 11/26/2019
3.1.4 780 11/25/2019
3.1.3 1,119 11/8/2019
3.1.2 821 11/4/2019
3.1.1 2,238 10/17/2019
3.1.0 829 10/3/2019
3.0.1 808 9/20/2019
3.0.0 1,576 8/27/2019
2.3.11 1,863 6/9/2019
2.3.10 712 6/5/2019
2.3.9 748 5/26/2019
2.3.8 850 5/13/2019
2.3.7 1,170 4/24/2019
2.3.6 1,751 4/17/2019
2.3.5 791 4/10/2019
2.3.4 829 3/9/2019
2.3.3 629 3/8/2019
2.3.2 678 2/28/2019
2.3.1 698 2/25/2019
2.3.0 609 2/22/2019
2.2.1 679 2/12/2019
2.2.0 596 2/1/2019
2.1.2 1,767 1/14/2019
2.1.0 1,309 12/15/2018
2.0.1 651 12/7/2018
2.0.0 819 11/28/2018
1.1.0 1,343 9/10/2018
1.0.18 763 8/10/2018
1.0.17 681 7/30/2018
1.0.16 1,080 6/29/2018
1.0.15 716 6/27/2018
1.0.14 734 6/8/2018
1.0.13 682 6/6/2018
1.0.12 994 4/5/2018
1.0.11 759 4/4/2018
1.0.10 719 3/27/2018
1.0.8 1,665 2/7/2018
1.0.7 709 1/27/2018
1.0.6 811 1/8/2018
1.0.5 775 12/28/2017
1.0.4 710 12/15/2017
1.0.3 638 12/8/2017
1.0.2 636 11/30/2017
1.0.1 659 11/28/2017
1.0.0 460 3/3/2017