Jaa


SystemDataPaths Class

Definition

Gets some commonly used system wide folder locations based on the KNOWNFOLDERID naming pattern.

public ref class SystemDataPaths sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SystemDataPaths final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SystemDataPaths
Public NotInheritable Class SystemDataPaths
Inheritance
Object Platform::Object IInspectable SystemDataPaths
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

This class contains methods and properties that return paths consistent with those that a Desktop app would use.

Properties

Fonts

Gets the path to the fonts folder.

ProgramData

Gets the path to the ProgramData folder on the machine.

Public

Gets the path to the Public folder on the machine.

PublicDesktop

Gets the path to the Public Desktop folder on the machine.

PublicDocuments

Gets the path to the Public Documents folder on the machine.

PublicDownloads

Gets the path to the Public Downloads folder on the machine.

PublicMusic

Gets the path to the Public Music folder on the machine.

PublicPictures

Gets the path to the Public Pictures folder on the machine.

PublicVideos

Gets the path to the Public Videos folder on the machine.

System

Gets the path to the Windows system folder.

SystemArm

Gets the path to the System folder for a machine using an ARM operating system.

SystemHost

Gets the path to the System folder regardless of the operating system architecture (x64, x86, ARM).

SystemX64

Gets the path to the 64-bit Windows system folder.

SystemX86

Gets the path to the 32-bit Windows system folder.

UserProfiles

Gets a path to the user profiles for the computer.

Windows

Gets a path to the Windows directory.

Methods

GetDefault()

Gets the paths to various system data folders.

Applies to