Vanara.Core 3.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 3.3.1
                    
NuGet\Install-Package Vanara.Core -Version 3.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="3.3.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vanara.Core" Version="3.3.1" />
                    
Directory.Packages.props
<PackageReference Include="Vanara.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vanara.Core --version 3.3.1
                    
#r "nuget: Vanara.Core, 3.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.
#addin nuget:?package=Vanara.Core&version=3.3.1
                    
Install Vanara.Core as a Cake Addin
#tool nuget:?package=Vanara.Core&version=3.3.1
                    
Install Vanara.Core as a Cake Tool

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.  net5.0-windows7.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 is compatible.  netcoreapp3.1 is compatible. 
.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 (9)

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

The full set of packages associated with the Vanara PInvoke Libraries.

Vanara.PInvoke.Graphics

PInvoke API (methods, interfaces, structures and constants) imported from Windows Graphics APIs. Currently supports Windows Imaging Component (WIC), DirectWrite (full), Direct2D (partial), and Direct3D (DXGI only).

Vanara.Management

Extensions and helper classes for System.Management.

Smdn.Net.AddressResolution

A network address resolution library for .NET. This library provides APIs for resolving between IP addresses and MAC addresses, mainly the `MacAddressResolver` class in the `Smdn.Net.AddressResolution` namespace. This library also provides a functionality for referencing the system's address table such as the ARP table (`Smdn.Net.AddressTables` namespace), and a network scan functionality to refresh the address cache mainly using the installed commands (`Smdn.Net.NetworkScanning` namespace).

GitHub repositories (3)

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

Repository Stars
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.1.3 25,709 4/24/2025
4.1.2 11,320 4/16/2025
4.1.1 55,442 3/7/2025
4.1.0 3,095 3/7/2025 4.1.0 is deprecated because it has critical bugs.
4.0.6 16,434 2/24/2025
4.0.5 13,651 2/8/2025
4.0.4 190,327 9/13/2024
4.0.3 109,435 8/5/2024
4.0.2 43,423 6/24/2024
4.0.1 103,645 4/30/2024
4.0.0 34,089 3/29/2024
4.0.0-beta2 4,941 1/22/2024
4.0.0-beta 5,911 11/20/2023
3.4.17 181,954 10/18/2023
3.4.16 100,297 8/7/2023
3.4.15 206,655 5/18/2023
3.4.14 84,050 4/15/2023
3.4.13 102,354 2/4/2023
3.4.12 46,196 1/15/2023
3.4.11 94,645 11/15/2022
3.4.10 45,095 10/25/2022
3.4.9 43,197 10/3/2022
3.4.8 40,148 9/16/2022
3.4.7 37,428 9/3/2022
3.4.6 46,375 8/7/2022
3.4.5 42,249 7/17/2022
3.4.4 31,004 7/5/2022
3.4.3 48,545 6/14/2022
3.4.2 41,733 5/13/2022
3.4.1 32,329 5/5/2022
3.4.0 47,213 3/14/2022
3.3.15 108,876 12/27/2021
3.3.14 42,705 10/26/2021
3.3.13 32,347 9/30/2021
3.3.12 33,754 8/30/2021
3.3.11 41,860 7/22/2021
3.3.10 26,216 6/4/2021
3.3.9 19,239 5/7/2021
3.3.8 22,656 4/7/2021
3.3.7 18,603 3/24/2021
3.3.6 15,476 3/19/2021
3.3.5 18,918 3/1/2021
3.3.4 19,655 2/11/2021
3.3.3 23,711 2/3/2021
3.3.2 15,096 1/21/2021
3.3.1 18,252 1/20/2021
3.3.0 21,393 11/20/2020
3.2.21 13,621 11/13/2020
3.2.20 16,391 11/8/2020
3.2.19 22,484 10/23/2020
3.2.18 12,878 10/21/2020
3.2.17 25,583 9/20/2020
3.2.16 13,923 9/7/2020
3.2.15 12,823 8/30/2020
3.2.14 12,417 8/20/2020
3.2.13 13,190 7/27/2020
3.2.12 12,459 7/13/2020
3.2.11 13,423 6/28/2020
3.2.10 14,555 6/14/2020
3.2.9 13,225 6/3/2020
3.2.7 16,060 5/4/2020
3.2.6 12,396 4/21/2020
3.2.5 12,152 4/15/2020
3.2.4 11,988 4/12/2020
3.2.3 15,186 4/1/2020
3.2.2 11,069 3/24/2020
3.2.1 12,012 3/17/2020
3.2.0 11,710 2/27/2020
3.1.9 11,863 1/17/2020
3.1.8 11,447 1/13/2020
3.1.7 11,273 1/6/2020
3.1.6 11,155 12/12/2019
3.1.5 10,929 11/26/2019
3.1.4 10,711 11/25/2019
3.1.3 11,149 11/8/2019
3.1.2 10,426 11/4/2019
3.1.1 11,990 10/17/2019
3.1.0 10,095 10/3/2019
3.0.1 9,959 9/20/2019
3.0.0 12,110 8/27/2019
2.3.11 9,240 6/9/2019
2.3.10 6,892 6/5/2019
2.3.9 6,882 5/26/2019
2.3.8 6,811 5/13/2019
2.3.7 7,133 4/24/2019
2.3.6 8,004 4/17/2019
2.3.5 6,564 4/10/2019
2.3.4 6,447 3/9/2019
2.3.3 6,324 3/8/2019
2.3.2 6,232 2/28/2019
2.3.1 6,325 2/25/2019
2.3.0 6,137 2/22/2019
2.2.1 6,170 2/12/2019
2.2.0 6,161 2/1/2019
2.1.2 22,715 1/14/2019
2.1.0 7,280 12/15/2018
2.0.1 6,258 12/7/2018
2.0.0 6,525 11/28/2018
1.1.0 7,031 9/10/2018
1.0.18 5,965 8/10/2018
1.0.17 5,837 7/30/2018
1.0.16 6,468 6/29/2018
1.0.15 5,931 6/27/2018
1.0.14 5,817 6/8/2018
1.0.13 5,675 6/6/2018
1.0.12 6,087 4/5/2018
1.0.11 5,930 4/4/2018
1.0.10 5,736 3/27/2018
1.0.8 10,161 2/7/2018
1.0.7 5,796 1/27/2018
1.0.6 5,860 1/8/2018
1.0.5 5,593 12/28/2017
1.0.4 5,406 12/15/2017
1.0.3 4,724 12/8/2017
1.0.2 4,703 11/30/2017
1.0.1 5,013 11/28/2017
1.0.0 1,777 3/3/2017

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