DesktopFile.id

  1. string id()
    class DesktopFile
    version(Posix)
    @trusted const nothrow
    string
    id
    ()
  2. string id(Range appPaths)

Return Value

Type: string

Desktop file ID or empty string if file does not have an ID. Note: This function retrieves applications paths each time it's called and therefore can impact performance. To avoid this issue use overload with argument.

See Also

applicationsPaths

Meta