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
AllowLowercase
default: true
public bool AllowLowercase { get; set; }
Property Value
AllowNumber
default: true
public bool AllowNumber { get; set; }
Property Value
AllowSpecial
default: false
public bool AllowSpecial { get; set; }
Property Value
AllowUppercase
default: true
public bool AllowUppercase { get; set; }
Property Value
AtLeastOneNumber
default: true
public bool AtLeastOneNumber { get; set; }
Property Value
AtLeastOneSpecial
default: false
public bool AtLeastOneSpecial { get; set; }
Property Value
AtLeastOneUppercase
default: true
public bool AtLeastOneUppercase { get; set; }
Property Value
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
LoopCount
default: 0
public int LoopCount { get; }
Property Value
MaxSpecial
default: 1
public int MaxSpecial { get; set; }