Vanara.Core 2.3.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.Core --version 2.3.1                
NuGet\Install-Package Vanara.Core -Version 2.3.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.Core" Version="2.3.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.Core --version 2.3.1                
#r "nuget: Vanara.Core, 2.3.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=2.3.1

// Install Vanara.Core as a Cake Tool
#tool nuget:?package=Vanara.Core&version=2.3.1                

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (110)

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.Cryptography

PInvoke API (methods, structures and constants) imported from Windows crypt32.dll, bcrypt.dll, ncrypt.dll, tokenbinding.dll, cryptnet.dll, cryptdlg.dll and cryptui.dll.

Vanara.PInvoke.Security

PInvoke API (methods, structures and constants) imported from Windows AdvApi32.dll, Authz.dll, sspicli.dll, schannel.dll, tdh.dll and Secur32.dll.

Vanara.PInvoke.Gdi32

PInvoke API (methods, structures and constants) imported from Windows Gdi32.dll

GitHub repositories (4)

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

Repository Stars
dahall/Vanara
A set of .NET libraries for Windows implementing PInvoke calls to many native Windows APIs with supporting wrappers.
omeryanar/FileExplorer
Windows File Explorer alternative with tab browsing
zhupingqi/RuiJi.Net
crawler framework, distributed crawler extractor
zqhong/RyzenTuner
A tool that supports adjusting the power limit of Ryzen mobile processors and the QoS level and priority of Windows processes
Version Downloads Last updated
4.0.4 92,846 9/13/2024
4.0.3 70,121 8/5/2024
4.0.2 38,468 6/24/2024
4.0.1 82,328 4/30/2024
4.0.0 33,420 3/29/2024
4.0.0-beta2 4,869 1/22/2024
4.0.0-beta 5,853 11/20/2023
3.4.17 170,461 10/18/2023
3.4.16 94,529 8/7/2023
3.4.15 151,965 5/18/2023
3.4.14 80,839 4/15/2023
3.4.13 99,403 2/4/2023
3.4.12 45,762 1/15/2023
3.4.11 88,143 11/15/2022
3.4.10 44,702 10/25/2022
3.4.9 43,084 10/3/2022
3.4.8 39,817 9/16/2022
3.4.7 37,295 9/3/2022
3.4.6 45,824 8/7/2022
3.4.5 42,046 7/17/2022
3.4.4 30,709 7/5/2022
3.4.3 47,289 6/14/2022
3.4.2 40,359 5/13/2022
3.4.1 32,284 5/5/2022
3.4.0 46,533 3/14/2022
3.3.15 106,507 12/27/2021
3.3.14 41,096 10/26/2021
3.3.13 31,863 9/30/2021
3.3.12 32,747 8/30/2021
3.3.11 39,726 7/22/2021
3.3.10 26,148 6/4/2021
3.3.9 19,134 5/7/2021
3.3.8 22,606 4/7/2021
3.3.7 18,554 3/24/2021
3.3.6 15,427 3/19/2021
3.3.5 18,754 3/1/2021
3.3.4 18,539 2/11/2021
3.3.3 23,647 2/3/2021
3.3.2 15,045 1/21/2021
3.3.1 18,204 1/20/2021
3.3.0 20,797 11/20/2020
3.2.21 13,548 11/13/2020
3.2.20 16,331 11/8/2020
3.2.19 21,609 10/23/2020
3.2.18 12,835 10/21/2020
3.2.17 25,517 9/20/2020
3.2.16 13,850 9/7/2020
3.2.15 12,753 8/30/2020
3.2.14 12,368 8/20/2020
3.2.13 13,108 7/27/2020
3.2.12 12,387 7/13/2020
3.2.11 13,379 6/28/2020
3.2.10 14,497 6/14/2020
3.2.9 13,175 6/3/2020
3.2.7 15,976 5/4/2020
3.2.6 12,331 4/21/2020
3.2.5 12,088 4/15/2020
3.2.4 11,941 4/12/2020
3.2.3 15,112 4/1/2020
3.2.2 11,022 3/24/2020
3.2.1 11,960 3/17/2020
3.2.0 11,660 2/27/2020
3.1.9 11,806 1/17/2020
3.1.8 11,383 1/13/2020
3.1.7 11,214 1/6/2020
3.1.6 11,097 12/12/2019
3.1.5 10,883 11/26/2019
3.1.4 10,631 11/25/2019
3.1.3 11,061 11/8/2019
3.1.2 10,373 11/4/2019
3.1.1 11,941 10/17/2019
3.1.0 10,029 10/3/2019
3.0.1 9,898 9/20/2019
3.0.0 11,989 8/27/2019
2.3.11 9,060 6/9/2019
2.3.10 6,845 6/5/2019
2.3.9 6,833 5/26/2019
2.3.8 6,758 5/13/2019
2.3.7 7,067 4/24/2019
2.3.6 7,782 4/17/2019
2.3.5 6,513 4/10/2019
2.3.4 6,383 3/9/2019
2.3.3 6,213 3/8/2019
2.3.2 6,181 2/28/2019
2.3.1 6,273 2/25/2019
2.3.0 6,072 2/22/2019
2.2.1 6,114 2/12/2019
2.2.0 6,112 2/1/2019
2.1.2 22,585 1/14/2019
2.1.0 7,186 12/15/2018
2.0.1 6,198 12/7/2018
2.0.0 6,461 11/28/2018
1.1.0 6,907 9/10/2018
1.0.18 5,895 8/10/2018
1.0.17 5,730 7/30/2018
1.0.16 6,352 6/29/2018
1.0.15 5,772 6/27/2018
1.0.14 5,706 6/8/2018
1.0.13 5,567 6/6/2018
1.0.12 5,918 4/5/2018
1.0.11 5,762 4/4/2018
1.0.10 5,568 3/27/2018
1.0.8 9,988 2/7/2018
1.0.7 5,623 1/27/2018
1.0.6 5,687 1/8/2018
1.0.5 5,415 12/28/2017
1.0.4 5,223 12/15/2017
1.0.3 4,610 12/8/2017
1.0.2 4,582 11/30/2017
1.0.1 4,838 11/28/2017
1.0.0 1,631 3/3/2017

Currently implements:

Classes
BitHelper, ByteSizeFormatter, ComConnectionPoint, ComReleaser<T>, CorrespondingTypeAttribute, CoTaskMemoryMethods, EnumerableEqualityComparer<T>, EnumExtensions, EventedList<T>, FileTimeExtensions, Formatter, FormatterComposer, GenericSafeHandle, GenericVirtualReadOnlyDictionaryy<T>, HexDempHelpers, HGlobalMemoryMethods, InteropExtensions, IOExtensions, ListChangedEventArgs<T>, MarshalingStream, PinnedObject, ReflectionExtensions, SafeAllocatedMemoryHandle, SafeByteArray, SafeCoTaskMemHandle, SafeCoTaskMemString, SafeHGlobalHandle, SafeMemoryHandle<T>, SafeMemoryHandleExt<T>, SparseArray<T>, StringHelper, TryGetValueDelegate, VirtualDictionary<T>, VirtualReadOnlyDictionary<T>

Structures
EnumFlagIndexer<T>, StrPtrAnsi, StrPtrAuto, StrPtrUni

Enumerations
CorrepsondingAction, StringListPackMethod