Go to file
Manuel Kamper 3f37ed0ea9 .net 4.8 2023-03-19 15:08:58 +01:00
Mk0.Tools.Randomization .net 4.8 2023-03-19 15:08:58 +01:00
.gitignore nuget 2019-04-14 18:29:07 +02:00
LICENSE Update LICENSE 2019-04-14 16:39:48 +02:00
Mk0.Tools.Randomization.sln Initial 2019-03-22 23:22:24 +01:00
README.md Initial 2019-03-22 23:22:24 +01:00

README.md

Mk0.Tools.Randomization

(C) 2019 mk0.at

Allows you to generate a random string with a length of your choice. You can add an optional prefix and an optional appendix to the random string.

You can use the following methods:

  • NumbersAndDigits (1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw)
  • Digits (ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw)
  • Numbers (1234567890)

Example usage:

Randomize.NumbersAndDigits(5, "_") will return f.e. "_j7Ga9"

Randomize.Numbers(2, "*", "#") will return f.w. "*59#"

Randomize.Digits(3) will return f.w. "fOu"