Skip to content

UuidConfig Class ​

Definition ​

Process-wide configuration for UuidFactory and UlidFactory.

  • Namespace: JASE
  • Assembly: JASE.IdGenerator.dll

Properties ​

NameDescription
UseCsprngSelects the randomness source for process-wide UUID and ULID generation.
UseNodeWhen , embeds a node identifier in V7 and SQL Server COMB values so that

Methods ​

NameDescription
void SetUseCsprng(bool value)Sets UseCsprng on the process-wide UUID and ULID factories.
void SetUseNode(bool value)Sets UseNode on the process-wide UUID factory.

Remarks ​

These settings are shared by every caller of the static factories in this process. Construct a UuidGenerator / UlidGenerator when two libraries must not share configuration. In the JASE Suite the same flags are also surfaced through CoreConfig.