Skip to content

Commit a4dda12

Browse files
committed
Update 0.0.2
1 parent 6c44234 commit a4dda12

File tree

12 files changed

+550
-23
lines changed

12 files changed

+550
-23
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# NativeMethods
2+
[Created with ❤ in Poland by lepo.co](https://dev.lepo.co/)
3+
Set of tools and ready-made methods that are wrappers over the core functionalities of Windows, such as `User32`, `Shell32` or `Kernel32`.
4+
5+
[![GitHub license](https://img.shields.io/github/license/lepoco/nativemethods)](https://github.com/lepoco/nativemethods/blob/master/LICENSE) [![Nuget](https://img.shields.io/nuget/v/NativeMethods)](https://www.nuget.org/packages/NativeMethods/) [![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/NativeMethods?label=nuget-pre)](https://www.nuget.org/packages/NativeMethods/) [![Nuget](https://img.shields.io/nuget/dt/NativeMethods?label=nuget-downloads)](https://www.nuget.org/packages/NativeMethods/) [![Size](https://img.shields.io/github/repo-size/lepoco/nativemethods)](https://github.com/lepoco/nativemethods) [![Sponsors](https://img.shields.io/github/sponsors/lepoco)](https://github.com/sponsors/lepoco)
6+
7+
## 🚀 Getting started
8+
**NativeMethods** is delivered via **NuGet** package manager. You can find the package here: https://www.nuget.org/packages/NativeMethods/
9+
10+
## Wrapped Methods
11+
| Library | Method |
12+
| --- | --- |
13+
| **User32** | User32.SetWindowCompositionAttribute() |
14+
| **Shell32** | Shell32.Shell_NotifyIcon() |
15+
| **Kernel32** | Kernel32.CopyMemory() |
16+
| **Gdip** | Gdip.GdipCreateHICONFromBitmap() |
17+
| **Gdi32** | Gdi32.DeleteObject() |
18+
19+
## Microsoft Property
20+
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.
21+
22+
## Compilation
23+
Use Visual Studio 2022 and invoke the .sln.
24+
25+
Visual Studio
26+
**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.
27+
28+
## Code of Conduct
29+
30+
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
31+
32+
## License
33+
NativeMethods is free and open source software licensed under **MIT License**. You can use it in private and commercial projects.
34+
Keep in mind that you must include a copy of the license in your project.

branding/nativemethods-256.png

6.81 KB
Loading

branding/nativemethods.png

24.7 KB
Loading

branding/nativemethods.psd

247 KB
Binary file not shown.

src/Directory.Build.props

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project>
33

44
<PropertyGroup>
5-
<Version>0.0.1</Version>
5+
<Version>0.0.2</Version>
66
<PackageVersion>$(Version)</PackageVersion>
77
</PropertyGroup>
88

@@ -20,6 +20,13 @@
2020
<RepositoryUrl>https://github.com/lepoco/nativemethods</RepositoryUrl>
2121
</PropertyGroup>
2222

23+
<ItemGroup>
24+
<None Include="..\..\branding\nativemethods-256.png">
25+
<Pack>True</Pack>
26+
<PackagePath>\</PackagePath>
27+
</None>
28+
</ItemGroup>
29+
2330
<PropertyGroup>
2431
<LangVersion>10.0</LangVersion>
2532
<OutputType>Library</OutputType>

0 commit comments

Comments
 (0)