Vanara.Core
3.2.10
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
See the version list below for details.
Install-Package Vanara.Core -Version 3.2.10
dotnet add package Vanara.Core --version 3.2.10
<PackageReference Include="Vanara.Core" Version="3.2.10" />
paket add Vanara.Core --version 3.2.10
#r "nuget: Vanara.Core, 3.2.10"
// Install Vanara.Core as a Cake Addin
#addin nuget:?package=Vanara.Core&version=3.2.10
// Install Vanara.Core as a Cake Tool
#tool nuget:?package=Vanara.Core&version=3.2.10
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, MemoryMethodsFromSimple<T>, 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, SizeT, StrPtrAnsi, StrPtrAuto, StrPtrUni
Enumerations
CorrespondingAction, StringListPackMethod
Dependencies
-
.NETCoreApp 2.0
- System.Memory (>= 4.5.4)
-
.NETCoreApp 2.1
- No dependencies.
-
.NETCoreApp 3.0
- No dependencies.
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 2.0
- Theraot.Core (>= 3.1.4)
-
.NETFramework 3.5
- Theraot.Core (>= 3.1.4)
-
.NETFramework 4.0
- System.ValueTuple (>= 4.5.0)
- Theraot.Core (>= 3.1.4)
-
.NETFramework 4.5
- System.Memory (>= 4.5.4)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- System.Memory (>= 4.5.4)
Used By
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 | 1,121 | 4/7/2021 |
3.3.7 | 3,259 | 3/24/2021 |
3.3.6 | 1,126 | 3/19/2021 |
3.3.5 | 3,386 | 3/1/2021 |
3.3.4 | 2,079 | 2/11/2021 |
3.3.3 | 2,942 | 2/3/2021 |
3.3.2 | 1,406 | 1/21/2021 |
3.3.1 | 937 | 1/20/2021 |
3.3.0 | 4,303 | 11/20/2020 |
3.2.21 | 1,298 | 11/13/2020 |
3.2.20 | 2,305 | 11/8/2020 |
3.2.19 | 5,950 | 10/23/2020 |
3.2.18 | 814 | 10/21/2020 |
3.2.17 | 5,977 | 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,818 | 7/27/2020 |
3.2.12 | 1,209 | 7/13/2020 |
3.2.11 | 2,299 | 6/28/2020 |
3.2.10 | 3,253 | 6/14/2020 |
3.2.9 | 2,082 | 6/3/2020 |
3.2.7 | 3,591 | 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,154 | 4/1/2020 |
3.2.2 | 1,143 | 3/24/2020 |
3.2.1 | 1,695 | 3/17/2020 |
3.2.0 | 1,680 | 2/27/2020 |
3.1.9 | 1,805 | 1/17/2020 |
3.1.8 | 1,336 | 1/13/2020 |
3.1.7 | 1,238 | 1/6/2020 |
3.1.6 | 1,417 | 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,122 | 11/4/2019 |
3.1.1 | 2,635 | 10/17/2019 |
3.1.0 | 1,120 | 10/3/2019 |
3.0.1 | 1,077 | 9/20/2019 |
3.0.0 | 1,950 | 8/27/2019 |
2.3.11 | 2,173 | 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,750 | 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 | 995 | 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 | 589 | 3/3/2017 |