BT.runtime_id
BT.runtime_id
Function
returns the current BT process running instance ID.
Syntax
BT.runtime_id()
Parameters
| Parameters | Type | Required | Default value | Description |
|---|---|---|---|---|
| None | - | No | None | No parameters required. |
Return Value
| Type | Description |
|---|---|
| String | Returns the current BT process running instance ID. |
Examples
id = BT.runtime_id() result = id.starts_with('bt-') // Output: true print result
Notes
- runtime_id does not read the hardware serial number, motherboard number, disk number, or MAC address.
- This value is only used as the identification of the current BT process running instance. It is not guaranteed to be unique across machines, nor is it guaranteed to be stable after restarting.