get_machine_id

Function get_machine_id 

Source
pub fn get_machine_id() -> Option<String>
Expand description

Returns the machine UUID for the current machine.

Loads the config and returns the machine_id (UUID), generating one if needed. Used to populate the machine_id field on sessions, allowing cloud sync to identify which machine created a session. Returns None if the config cannot be loaded or the machine ID cannot be determined.