DriveT.getIdentifier

Gets the identifier of the given kind for drive. The only identifier currently available is G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE

template DriveT(TStruct)
string
getIdentifier
(
string kind
)

Parameters

kind string

the kind of identifier to return

Return Value

Type: string

a newly allocated string containing the requested identifier, or NULL if the GDrive doesn't have this kind of identifier.