Table of Contents

Class RandomPasswordOptions

Namespace
SearchAThing.Ext
Assembly
netcore-ext.dll

to generate a pin use follow config ( AllowLetter = false, AtLeastOneUppercase = false, Length = 4 )

public class RandomPasswordOptions
Inheritance
RandomPasswordOptions
Inherited Members
Extension Methods

Properties

AllowLetter

default: true

public bool AllowLetter { get; set; }

Property Value

bool

AllowLowercase

default: true

public bool AllowLowercase { get; set; }

Property Value

bool

AllowNumber

default: true

public bool AllowNumber { get; set; }

Property Value

bool

AllowSpecial

default: false

public bool AllowSpecial { get; set; }

Property Value

bool

AllowUppercase

default: true

public bool AllowUppercase { get; set; }

Property Value

bool

AtLeastOneNumber

default: true

public bool AtLeastOneNumber { get; set; }

Property Value

bool

AtLeastOneSpecial

default: false

public bool AtLeastOneSpecial { get; set; }

Property Value

bool

AtLeastOneUppercase

default: true

public bool AtLeastOneUppercase { get; set; }

Property Value

bool

AvoidChars

avoid ambigous chars for example : new[] { 'l', 'I', 'O', '0' } default: null

public char[] AvoidChars { get; set; }

Property Value

char[]

Length

default: 12

public int Length { get; set; }

Property Value

int

LoopCount

default: 0

public int LoopCount { get; }

Property Value

int

MaxSpecial

default: 1

public int MaxSpecial { get; set; }

Property Value

int