DKNet.RandomCreator 13.3.3

dotnet add package DKNet.RandomCreator --version 13.3.3
                    
NuGet\Install-Package DKNet.RandomCreator -Version 13.3.3
                    
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="DKNet.RandomCreator" Version="13.3.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DKNet.RandomCreator" Version="13.3.3" />
                    
Directory.Packages.props
<PackageReference Include="DKNet.RandomCreator" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DKNet.RandomCreator --version 13.3.3
                    
#r "nuget: DKNet.RandomCreator, 13.3.3"
                    
#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.
#:package DKNet.RandomCreator@13.3.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DKNet.RandomCreator&version=13.3.3
                    
Install as a Cake Addin
#tool nuget:?package=DKNet.RandomCreator&version=13.3.3
                    
Install as a Cake Tool

DKNet.RandomCreator

Random string and character-buffer generation for .NET developers, using System.Security.Cryptography.RandomNumberGenerator.

✨ Why use it?

  • Generate text without writing character-selection and shuffle loops.
  • Choose fixed digit and symbol counts while filling the remaining positions with letters.
  • Receive a mutable character array when the caller needs to clear the returned buffer.

🚀 Quick Start

Use a .NET 10 console project. Install the package, then replace Program.cs with the example.

dotnet new console -f net10.0 -n CoreDemo
cd CoreDemo
dotnet add package DKNet.RandomCreator
using System;
using DKNet.RandomCreator;

var text = RandomCreators.NewString(32,
    new StringCreatorOptions { MinNumbers = 4, MinSpecials = 2 });
Console.WriteLine(text.Length); // 32

Run with dotnet run.

Documentation

Guide Read when
Package overview Start with architecture and the end-to-end flow.
Generate strings and mutable character buffers Choose string or mutable-buffer output with fixed digit and symbol counts.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.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
13.3.3 75 11/26/2026
13.3.2 187 11/3/2026
13.3.1 120 10/26/2026
13.3.0 127 10/22/2026
13.2.8 110 10/22/2026
13.2.7 118 10/11/2026
13.2.6 119 10/10/2026
13.2.5 114 10/2/2026
13.2.4 103 10/1/2026
13.2.3 116 10/1/2026
13.2.2 113 10/1/2026
13.2.1 105 10/1/2026
13.2.0 110 10/1/2026
13.1.3 121 9/21/2026
13.1.2 119 9/18/2026
13.1.1 110 9/18/2026
13.1.0 110 9/18/2026
13.0.2 114 9/18/2026
13.0.1 108 9/18/2026
13.0.0 114 9/18/2026
Loading failed