Vanara.Core 3.3.2

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

There is a newer version of this package available.
See the version list below for details.
Install-Package Vanara.Core -Version 3.3.2
dotnet add package Vanara.Core --version 3.3.2
<PackageReference Include="Vanara.Core" Version="3.3.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.Core --version 3.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vanara.Core, 3.3.2"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Release Notes

Currently implements:

Classes
IArrayStruct<T>, 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>, IArrayStructExtensions, IArrayStructMarshaler<T>, InteropExtensions, IntPtrConverter, IOExtensions, LibHelper, ListChangedEventArgs<T>, MarshalingStream, MemoryMethodsBase, NativeMemoryEnumerator<T>, NativeMemoryStream, PinnedObject, ReflectionExtensions, ReflectionExtensions, SafeAllocatedMemoryHandle, SafeAllocatedMemoryHandleBase, 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 (68)

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
Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher
⇒ Disable Chrome's Developer Mode Extension Warning Popup & Elision WWW/HTTPS Hiding & Debugging Extension Popup
zhupingqi/RuiJi.Net
crawler framework, distributed crawler extractor

Version History

Version Downloads Last updated
3.3.5 705 3/1/2021
3.3.4 1,747 2/11/2021
3.3.3 1,813 2/3/2021
3.3.2 1,054 1/21/2021
3.3.1 518 1/20/2021
3.3.0 3,651 11/20/2020
3.2.21 972 11/13/2020
3.2.20 1,890 11/8/2020
3.2.19 5,258 10/23/2020
3.2.18 608 10/21/2020
3.2.17 5,649 9/20/2020
3.2.16 958 9/7/2020
3.2.15 906 8/30/2020
3.2.14 922 8/20/2020
3.2.13 1,624 7/27/2020
3.2.12 1,017 7/13/2020
3.2.11 2,016 6/28/2020
3.2.10 2,985 6/14/2020
3.2.9 1,879 6/3/2020
3.2.7 3,388 5/4/2020
3.2.6 1,488 4/21/2020
3.2.5 1,156 4/15/2020
3.2.4 1,108 4/12/2020
3.2.3 2,782 4/1/2020
3.2.2 976 3/24/2020
3.2.1 1,517 3/17/2020
3.2.0 1,507 2/27/2020
3.1.9 1,639 1/17/2020
3.1.8 1,177 1/13/2020
3.1.7 1,065 1/6/2020
3.1.6 1,266 12/12/2019
3.1.5 1,318 11/26/2019
3.1.4 915 11/25/2019
3.1.3 1,329 11/8/2019
3.1.2 958 11/4/2019
3.1.1 2,484 10/17/2019
3.1.0 978 10/3/2019
3.0.1 940 9/20/2019
3.0.0 1,818 8/27/2019
2.3.11 2,056 6/9/2019
2.3.10 822 6/5/2019
2.3.9 843 5/26/2019
2.3.8 948 5/13/2019
2.3.7 1,273 4/24/2019
2.3.6 1,904 4/17/2019
2.3.5 909 4/10/2019
2.3.4 944 3/9/2019
2.3.3 728 3/8/2019
2.3.2 771 2/28/2019
2.3.1 815 2/25/2019
2.3.0 716 2/22/2019
2.2.1 821 2/12/2019
2.2.0 753 2/1/2019
2.1.2 2,131 1/14/2019
2.1.0 1,560 12/15/2018
2.0.1 833 12/7/2018
2.0.0 997 11/28/2018
1.1.0 1,657 9/10/2018
1.0.18 936 8/10/2018
1.0.17 854 7/30/2018
1.0.16 1,261 6/29/2018
1.0.15 895 6/27/2018
1.0.14 906 6/8/2018
1.0.13 851 6/6/2018
1.0.12 1,165 4/5/2018
1.0.11 923 4/4/2018
1.0.10 868 3/27/2018
1.0.8 1,927 2/7/2018
1.0.7 873 1/27/2018
1.0.6 984 1/8/2018
1.0.5 920 12/28/2017
1.0.4 883 12/15/2017
1.0.3 784 12/8/2017
1.0.2 779 11/30/2017
1.0.1 821 11/28/2017
1.0.0 555 3/3/2017