Issue
Is there any built in function that creates random passwords ?
Asp.net simple memebership used to have a similar method
Solution
If you are using .NET Framework and System.Web.Security.Membership
is available to you:
Check here:
string password = Membership.GeneratePassword(12, 1);
Note that this class is not available in .NET Standard or .NET Core.
Answered By – user4419908
Answer Checked By – Gilberto Lyons (BugsFixing Admin)