IdGen 3.0.0

.NET Standard 1.1
Install-Package IdGen -Version 3.0.0
dotnet add package IdGen --version 3.0.0
<PackageReference Include="IdGen" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IdGen --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IdGen, 3.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install IdGen as a Cake Addin
#addin nuget:?package=IdGen&version=3.0.0

// Install IdGen as a Cake Tool
#tool nuget:?package=IdGen&version=3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Twitter Snowflake-alike ID generator for .Net

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (32)

Showing the top 5 NuGet packages that depend on IdGen:

Package Downloads



Package Description


TIKSN Cake Addin


Package Description



GitHub repositories (6)

Showing the top 5 popular GitHub repositories that depend on IdGen:

Repository Stars
ZKEACMS build with .Net 5 (.Net CMS)可视化设计在线编辑内容管理系统
一个基于 .NET Core构建的简单、跨平台、模块化的商城系统
Booking Microservices is a Sample application for booking ticket. This application based on different software architecture and technologies like .Net Core, CQRS, DDD, Vertical Slice Architecture, Docker, kubernetes, tye, masstransit, RabbitMQ, Grpc, yarp reverse proxy, Identity Server, Redis, SqlServer, Entity Framework Core, Event Sourcing and different level of testing.
🌈An enhanced version with clean architecture of asp.netcore,Support for netcore6.0
Version Downloads Last updated
3.0.0 568,643 7/6/2020
2.4.1 6,451 7/2/2020
2.4.0 42,342 5/6/2020
2.3.0 7,634 4/17/2020
2.2.0 36,127 3/4/2020
2.1.0 8,624 2/19/2020
2.0.3 266,435 7/31/2018
2.0.2 40,660 2/9/2018
2.0.1 6,634 11/23/2016
2.0.1-rc 757 10/10/2016
2.0.0-rc 899 7/21/2016
1.3.1 16,348 3/7/2016
1.3.0 929 3/7/2016
1.2.0 971 2/9/2016
1.1.0 1,223 6/29/2015
1.0.0 2,211 4/8/2015
1.0.0-beta 979 4/4/2015
1.0.0-alpha 831 4/3/2015

We now use IdGeneratorOptions to configure an IdGenerator. Also, the MaskConfig is now more appropriately named IdStructure. The release contains breaking changes but upgrading 2.x to 3.0 should be pretty simple.