generateUuidDefault
generateUuidDefault(): Binary;
The generateUuidDefault method of the Application class generates and returns a binary Universally Unique Identifier (UUID) value, which can be used as an attribute of an object so that it can be exposed to third‑parties.
This method generates the recommended UUID variant defined in the generateUuid method, which is VariantMicrosoft.
The following code example shows the use of the generateUuidDefault method.
create() updating;
begin
self.uuid := app.generateUuidDefault();
end;
2025.0.01 and higher
