[SOLVED] ASP.NET Identity : Generate random password


Is there any built in function that creates random passwords ?
Asp.net simple memebership used to have a similar method


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)

Leave a Reply

Your email address will not be published. Required fields are marked *