DaanV2.UUID.Net
1.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package DaanV2.UUID.Net --version 1.0.2
NuGet\Install-Package DaanV2.UUID.Net -Version 1.0.2
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="DaanV2.UUID.Net" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DaanV2.UUID.Net --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DaanV2.UUID.Net, 1.0.2"
#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.
// Install DaanV2.UUID.Net as a Cake Addin
#addin nuget:?package=DaanV2.UUID.Net&version=1.0.2
// Install DaanV2.UUID.Net as a Cake Tool
#tool nuget:?package=DaanV2.UUID.Net&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
UUID.Net
Provides a base class that can handle UUIDs as an object but also provides the generators to generate version 3, 4 and 5.
Table of Contents
Implicit Casting
This API contains pre-made casting methods that convert UUID to strings, char arrays or vice versa.
Usage Example
Below are two examples of generating UUIDs and usage
Generating UUIDs
Generate a UUID
UUID Temp = UUIDFactory.CreateUUID(4, 2); //Version 4, Variant 2
String UUID = UUIDFactory.CreateUUID(3, 1); //Version 3, Variant 1. auto cast to string
Generate a batch of UUIDs
UUID[] UUIDs = UUIDFactory.CreateUUIDs(100000, 4, 1); //Version 4, Variant 1, Amount of 100000
Generating through a Generator
IUUIDGenerator Generator = UUIDFactory.CreateGenerator(4, 1); //Get the version 4, variant 1 generator
IUUIDGenerator GeneratorV4 = new DaanV2.UUID.Generators.Version4.GeneratorVariant1(); //Get the version 4, variant 1 generator
UUID Out = GeneratorV4.Generate();
UUIDs Version
Version | Variant | Description | Context Needed | Context Type |
---|---|---|---|---|
3 | 1 | A UUID generated from a string using MD5 hashing bits, 122 bits | Yes | String |
4 | 1 | A random generated UUID of 122 bits | No | Int32 |
4 | 2 | A random generated UUID of 121 bits | No | Int32 |
5 | 1 | A UUID generated from a string using SHA1 hashing bits, 122 bits | Yes | String |
Performance
See Performance
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. 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.
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on DaanV2.UUID.Net:
Package | Downloads |
---|---|
MiniJoyApp
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
2.3.1 | 189 | 2/6/2024 | |
2.3.0 | 76 | 2/4/2024 | |
2.2.0 | 75 | 2/3/2024 | |
2.1.0 | 307 | 12/24/2023 | |
2.0.10 | 394 | 6/30/2023 | |
2.0.8 | 208 | 6/18/2023 | |
2.0.3 | 272 | 6/3/2023 | |
2.0.2 | 206 | 6/1/2023 | |
2.0.1 | 200 | 5/28/2023 | |
2.0.0 | 193 | 5/28/2023 | |
1.1.0 | 44,981 | 12/13/2020 | |
1.0.4 | 1,488 | 9/3/2020 | |
1.0.3 | 792 | 4/7/2020 | |
1.0.2 | 655 | 3/1/2020 | |
1.0.1 | 785 | 1/25/2020 | |
1.0.0 | 794 | 12/31/2019 |