A C# library with useful features for .NET Applications.

Get Started → Reference


Using LeoCorpLibrary in a project is very easy and intuitive.


LeoCorpLibrary.Core can be used on any operating system supported by .NET. This means you can run the same code on Windows, Linux, and macOS.

.NET Powered

LeoCorpLibrary is available for .NET Framework 4.5+, .NET Core 3.1, .NET 5 and .NET 6.

Introducing PeyrSharp

LeoCorpLibrary is evolving; it is now called PeyrSharp, and has been rebuilt from the ground up! Learn moreopen in new window

Welcome to LeoCorpLibrary


Welcome to LeoCorpLibrary's documentation. You will find here all the documentation of LeoCorpLibrary and LeoCorpLibrary.Core.


Learn more about installation steps.

dotnet add package LeoCorpLibrary --version
NuGet\Install-Package LeoCorpLibrary -Version
<PackageReference Include="LeoCorpLibrary" Version="" />

What you need to know

The LeoCorpLibrary package is only available for Windows devices whereas the LeoCorpLibrary.Core package is available for all platforms.

In this documentation, there are some symbols that might be used to specify the compatibility of a method, function or other:

Not available
Partially available

Breaking change with version 4.4

If you're upgrading from an older version of LeoCorpLibrary to version 4.4, you need to be aware of this change:

To use any enumeration, you'll need to import the LeoCorpLibrary.Enums namespace if you are using LeoCorpLibrary or the LeoCorpLibrary.Core.Enums namespace if you are using LeoCorpLibrary.Core.


Get Started