TOlfRandomIDGenerator.getID Method

Generate a string composed by a random list of chars (0..9 -> numbers, 0..35 -> numbers + lowercased letters ('a'-'z'), 0 ..61 -> numbers and letters ('a'-'z' and 'A'-'Z')

Unit: Olf.RTL.GenRandomID
class function getID(const Base: Byte; const ASize: cardinal = 0): string

Parameters

Base
Type: System.Byte

ASize
Type: System.Cardinal

Return Value

Type: System.string