KiwiSoft.TinyGuid 1.0.1

.NET 6.0
NuGet\Install-Package KiwiSoft.TinyGuid -Version 1.0.1
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.
dotnet add package KiwiSoft.TinyGuid --version 1.0.1
<PackageReference Include="KiwiSoft.TinyGuid" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KiwiSoft.TinyGuid --version 1.0.1
#r "nuget: KiwiSoft.TinyGuid, 1.0.1"
#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 KiwiSoft.TinyGuid as a Cake Addin
#addin nuget:?package=KiwiSoft.TinyGuid&version=1.0.1

// Install KiwiSoft.TinyGuid as a Cake Tool
#tool nuget:?package=KiwiSoft.TinyGuid&version=1.0.1

KiwiSoft.TinyGuid

This nuget package is meant to be used to generate unique id. The following code below is the simplest implementation of this package.
  using KiwiSoft.TinyGuid;
  class Program
  {
    static void Main(string[] args)
    {
      GuidGenerator guidGenerator = new GuidGenerator();
      string uuid = guidGenerator.UUID();
      Console.WriteLine(uuid);
      Console.ReadLine();
    }
  }

the output would look like this

alt text

The output may consist of the combination alphanumeric plus several special characters like "-", "_" or ".". If you only want alphanumeric on the output you must set the parameter value to "true" on the UUID method as seen below.

  using KiwiSoft.TinyGuid;
  class Program
  {
    static void Main(string[] args)
    {
      GuidGenerator guidGenerator = new GuidGenerator();
      string uuid = guidGenerator.UUID(true);
      Console.WriteLine(uuid);
      Console.ReadLine();
    }
  }
Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net6.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.

Version Downloads Last updated
1.0.1 95 4/8/2022
1.0.0 88 4/3/2022