mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
chore: rename SharpbinV3 dir to SharpbinV3.Server
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace SharpbinV3.Server
|
||||
{
|
||||
public class Utilities
|
||||
{
|
||||
public static string GenerateRandomString(int length)
|
||||
{
|
||||
const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
||||
var random = new Random();
|
||||
return new string([.. Enumerable.Repeat(chars, length).Select(s => s[random.Next(s.Length)])]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user