DKNet.RandomCreator
13.3.1
dotnet add package DKNet.RandomCreator --version 13.3.1
NuGet\Install-Package DKNet.RandomCreator -Version 13.3.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.
<PackageReference Include="DKNet.RandomCreator" Version="13.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DKNet.RandomCreator" Version="13.3.1" />
<PackageReference Include="DKNet.RandomCreator" />
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.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DKNet.RandomCreator, 13.3.1"
#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.1
#: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.1
#tool nuget:?package=DKNet.RandomCreator&version=13.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.1 | 92 | 10/26/2026 |
| 13.3.0 | 108 | 10/22/2026 |
| 13.2.8 | 94 | 10/22/2026 |
| 13.2.7 | 107 | 10/11/2026 |
| 13.2.6 | 105 | 10/10/2026 |
| 13.2.5 | 99 | 10/2/2026 |
| 13.2.4 | 87 | 10/1/2026 |
| 13.2.3 | 103 | 10/1/2026 |
| 13.2.2 | 101 | 10/1/2026 |
| 13.2.1 | 92 | 10/1/2026 |
| 13.2.0 | 94 | 10/1/2026 |
| 13.1.3 | 111 | 9/21/2026 |
| 13.1.2 | 105 | 9/18/2026 |
| 13.1.1 | 101 | 9/18/2026 |
| 13.1.0 | 100 | 9/18/2026 |
| 13.0.2 | 104 | 9/18/2026 |
| 13.0.1 | 98 | 9/18/2026 |
| 13.0.0 | 107 | 9/18/2026 |
| 12.0.0 | 105 | 9/17/2026 |
| 11.0.0 | 106 | 9/17/2026 |
Loading failed