Show / Hide Table of Contents

Class RandomPasswordGenerator

Inheritance
object
StringGenerator
RandomPasswordGenerator
Inherited Members
StringGenerator.LowercaseCharacters
StringGenerator.UppercaseCharacters
StringGenerator.NumericCharacters
StringGenerator.SpecialCharacters
StringGenerator.DefaultIncludeLowercase
StringGenerator.DefaultIncludeUppercase
StringGenerator.DefaultIncludeNumeric
StringGenerator.DefaultIncludeSpecial
StringGenerator.DefaultMaxAttempts
StringGenerator.random
StringGenerator.BuildCharacterSet(bool, bool, bool, bool)
StringGenerator.Generate(ReadOnlySpan<char>, int)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: RandomGenerator
Assembly: RandomGenerator.dll
Syntax
public class RandomPasswordGenerator : StringGenerator

Constructors

| Improve this Doc View Source

RandomPasswordGenerator()

Declaration
public RandomPasswordGenerator()

Fields

| Improve this Doc View Source

DefaultPasswordLength

Declaration
protected const int DefaultPasswordLength = 10
Field Value
Type Description
int
| Improve this Doc View Source

DefaultPasswordMaxLength

Declaration
protected const int DefaultPasswordMaxLength = 256
Field Value
Type Description
int

Methods

| Improve this Doc View Source

Generate(int)

Declaration
public string Generate(int length)
Parameters
Type Name Description
int length
Returns
Type Description
string
| Improve this Doc View Source

IncludeLowercase(bool)

Declaration
public RandomPasswordGenerator IncludeLowercase(bool include)
Parameters
Type Name Description
bool include
Returns
Type Description
RandomPasswordGenerator
| Improve this Doc View Source

IncludeNumeric(bool)

Declaration
public RandomPasswordGenerator IncludeNumeric(bool include)
Parameters
Type Name Description
bool include
Returns
Type Description
RandomPasswordGenerator
| Improve this Doc View Source

IncludeSpecial(bool)

Declaration
public RandomPasswordGenerator IncludeSpecial(bool include)
Parameters
Type Name Description
bool include
Returns
Type Description
RandomPasswordGenerator
| Improve this Doc View Source

IncludeUppercase(bool)

Declaration
public RandomPasswordGenerator IncludeUppercase(bool include)
Parameters
Type Name Description
bool include
Returns
Type Description
RandomPasswordGenerator
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX