Vanara.Core 3.2.13

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.2.13
dotnet add package Vanara.Core --version 3.2.13
<PackageReference Include="Vanara.Core" Version="3.2.13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.Core --version 3.2.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vanara.Core, 3.2.13"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.Core as a Cake Addin
#addin nuget:?package=Vanara.Core&version=3.2.13

// Install Vanara.Core as a Cake Tool
#tool nuget:?package=Vanara.Core&version=3.2.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Currently implements:

Classes
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, InteropExtensions, IntPtrConverter, IOExtensions, 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

Enumerations
CorrespondingAction, StringListPackMethod

NuGet packages (71)

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.8 275 4/7/2021
3.3.7 3,038 3/24/2021
3.3.6 1,111 3/19/2021
3.3.5 3,339 3/1/2021
3.3.4 2,073 2/11/2021
3.3.3 2,907 2/3/2021
3.3.2 1,404 1/21/2021
3.3.1 900 1/20/2021
3.3.0 4,252 11/20/2020
3.2.21 1,298 11/13/2020
3.2.20 2,289 11/8/2020
3.2.19 5,892 10/23/2020
3.2.18 814 10/21/2020
3.2.17 5,953 9/20/2020
3.2.16 1,163 9/7/2020
3.2.15 1,107 8/30/2020
3.2.14 1,109 8/20/2020
3.2.13 1,817 7/27/2020
3.2.12 1,209 7/13/2020
3.2.11 2,285 6/28/2020
3.2.10 3,232 6/14/2020
3.2.9 2,082 6/3/2020
3.2.7 3,584 5/4/2020
3.2.6 1,661 4/21/2020
3.2.5 1,337 4/15/2020
3.2.4 1,274 4/12/2020
3.2.3 3,153 4/1/2020
3.2.2 1,143 3/24/2020
3.2.1 1,694 3/17/2020
3.2.0 1,679 2/27/2020
3.1.9 1,805 1/17/2020
3.1.8 1,336 1/13/2020
3.1.7 1,237 1/6/2020
3.1.6 1,414 12/12/2019
3.1.5 1,471 11/26/2019
3.1.4 1,077 11/25/2019
3.1.3 1,476 11/8/2019
3.1.2 1,121 11/4/2019
3.1.1 2,635 10/17/2019
3.1.0 1,117 10/3/2019
3.0.1 1,077 9/20/2019
3.0.0 1,948 8/27/2019
2.3.11 2,168 6/9/2019
2.3.10 921 6/5/2019
2.3.9 939 5/26/2019
2.3.8 1,033 5/13/2019
2.3.7 1,366 4/24/2019
2.3.6 1,992 4/17/2019
2.3.5 987 4/10/2019
2.3.4 1,024 3/9/2019
2.3.3 814 3/8/2019
2.3.2 856 2/28/2019
2.3.1 884 2/25/2019
2.3.0 804 2/22/2019
2.2.1 917 2/12/2019
2.2.0 847 2/1/2019
2.1.2 2,227 1/14/2019
2.1.0 1,656 12/15/2018
2.0.1 911 12/7/2018
2.0.0 1,072 11/28/2018
1.1.0 1,748 9/10/2018
1.0.18 1,041 8/10/2018
1.0.17 941 7/30/2018
1.0.16 1,363 6/29/2018
1.0.15 970 6/27/2018
1.0.14 994 6/8/2018
1.0.13 927 6/6/2018
1.0.12 1,237 4/5/2018
1.0.11 1,011 4/4/2018
1.0.10 952 3/27/2018
1.0.8 2,048 2/7/2018
1.0.7 947 1/27/2018
1.0.6 1,052 1/8/2018
1.0.5 1,008 12/28/2017
1.0.4 953 12/15/2017
1.0.3 863 12/8/2017
1.0.2 858 11/30/2017
1.0.1 881 11/28/2017
1.0.0 583 3/3/2017
Show less