KeyFile.getUint64

Returns the value associated with key under group_name as an unsigned 64-bit integer. This is similar to KeyFile.getInteger but can return large positive results without truncation.

class KeyFile
ulong
getUint64
(
string groupName
,
string key
)

Parameters

groupName string

a non-NULL group name

key string

a non-NULL key

Return Value

Type: ulong

the value associated with the key as an unsigned 64-bit integer, or 0 if the key was not found or could not be parsed.

Throws

GException on failure.

Meta

Since

2.26