Skip to main content

KnownFolders

Assembly: ServiceStack.Desktop.dll
View Source
Declaration
public static class KnownFolders : object

Properties

Contacts

View Source
Declaration
public static Guid Contacts { get; }

Desktop

View Source
Declaration
public static Guid Desktop { get; }

Documents

View Source
Declaration
public static Guid Documents { get; }

Downloads

View Source
Declaration
public static Guid Downloads { get; }

Favorites

View Source
Declaration
public static Guid Favorites { get; }
View Source
Declaration
public static Guid Links { get; }

Music

View Source
Declaration
public static Guid Music { get; }

Pictures

View Source
Declaration
public static Guid Pictures { get; }

SavedGames

View Source
Declaration
public static Guid SavedGames { get; }

SavedSearches

View Source
Declaration
public static Guid SavedSearches { get; }

Videos

View Source
Declaration
public static Guid Videos { get; }

Methods

GetPath(String, Shell32.KNOWN_FOLDER_FLAG, Boolean)

View Source
Declaration
public static string GetPath(string knownFolder, Shell32.KNOWN_FOLDER_FLAG flags = null, bool defaultUser = false)
Returns

System.String

Parameters
TypeName
System.StringknownFolder
Shell32.KNOWN_FOLDER_FLAGflags
System.BooleandefaultUser

GetPath(Guid, Shell32.KNOWN_FOLDER_FLAG, Boolean)

View Source
Declaration
public static string GetPath(Guid knownFolderId, Shell32.KNOWN_FOLDER_FLAG flags = null, bool defaultUser = false)
Returns

System.String

Parameters
TypeName
GuidknownFolderId
Shell32.KNOWN_FOLDER_FLAGflags
System.BooleandefaultUser