Click or drag to resize
IdFormat Enumeration
Values that represent various ID formats.

Namespace:  Babel.Licensing
Assemblies:   Babel.Licensing (in Babel.Licensing.dll) Version: 2.4.0.0
  Babel.Licensing (in Babel.Licensing.dll) Version: 2.4.0.0
Syntax
public enum IdFormat
Members
  Member nameValueDescription
Hex0 Hexadecimal string format.
Decimal1 Decimal string format.
Base322 Base 32 string format.
Examples
IdGenerator builder = new IdGenerator();

// id5D9E86
builder.Format = IdFormat.Hex;
string idHex = builder.CreateId();

// id153045
builder.Format = IdFormat.Decimal;
string idDec = builder.CreateId();

// id2XJC2L
builder.Format = IdFormat.Base32;
string idB32 = builder.CreateId();
See Also