VolumeT.getUuid

Gets the UUID for the volume. The reference is typically based on the file system UUID for the volume in question and should be considered an opaque string. Returns NULL if there is no UUID available.

template VolumeT(TStruct)
string
getUuid
()

Return Value

Type: string

the UUID for volume or NULL if no UUID can be computed. The returned string should be freed with g_free() when no longer needed.