First Theodore Ts'o once wrote it in C.
Then Kazuyoshi Kato ported it to JavaScript some time ago.
One day I needed it in C# and well, here we are.
How to use:
using pwgen;
using System;
namespace test
{
class Program
{
static void Main(string[] args)
{
// example: Erie5zet
Console.WriteLine(SharpPwgen.Generate());
// example: uhai1Jahngizaeto
Console.WriteLine(SharpPwgen.Generate(16));
// example: caigophi
Console.WriteLine(SharpPwgen.Generate(8, false, false));
}
}
}
Enjoy.