NativeMethods 0.0.3
dotnet add package NativeMethods --version 0.0.3
NuGet\Install-Package NativeMethods -Version 0.0.3
<PackageReference Include="NativeMethods" Version="0.0.3" />
paket add NativeMethods --version 0.0.3
#r "nuget: NativeMethods, 0.0.3"
// Install NativeMethods as a Cake Addin #addin nuget:?package=NativeMethods&version=0.0.3 // Install NativeMethods as a Cake Tool #tool nuget:?package=NativeMethods&version=0.0.3
NativeMethods
Created with ❤ in Poland by lepo.co
Set of tools and ready-made methods that are wrappers over the core functionalities of Windows, such as User32
, Shell32
or Kernel32
.
🚀 Getting started
NativeMethods is delivered via NuGet package manager. You can find the package here: https://www.nuget.org/packages/NativeMethods/
Wrapped Methods
Library | Method |
---|---|
User32 | User32.SetWindowCompositionAttribute() |
Shell32 | Shell32.Shell_NotifyIcon() |
Kernel32 | Kernel32.CopyMemory() |
Gdip | Gdip.GdipCreateHICONFromBitmap() |
Gdi32 | Gdi32.DeleteObject() |
Microsoft Property
NativeMethods is based on source code provided by the .NET Foundation, WinApi headers and reverse engineer Windows libraries. The purpose of the library is to facilitate the management of WinApi via C# and it's designed exclusively for Windows systems.
Compilation
Use Visual Studio 2022 and invoke the .sln.
Visual Studio
NativeMethods is an Open Source project. You are entitled to download and use the freely available Visual Studio Community Edition to build, run or develop for NativeMethods. As per the Visual Studio Community Edition license, this applies regardless of whether you are an individual or a corporate user.
Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
License
NativeMethods is free and open source software licensed under MIT License. You can use it in private and commercial projects.
Keep in mind that you must include a copy of the license in your project.
Product | Versions 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. net6.0-windows7.0 is compatible. 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 | netcoreapp3.1 is compatible. |
.NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 is compatible. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.6
- No dependencies.
-
.NETFramework 4.7
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
net5.0-windows7.0
- No dependencies.
-
net6.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.