Table of Contents

Class PlatformFolders

Namespace
Stride.Core
Assembly
Stride.Core.dll

Folders used for the running platform.

public class PlatformFolders
Inheritance
PlatformFolders

Fields

ApplicationBinaryDirectory

The application directory, where assemblies are deployed. It could be read-only on some platforms.

public static readonly string ApplicationBinaryDirectory

Field Value

string

ApplicationCacheDirectory

The application cache directory, where user can write data that won't be backup.

public static readonly string ApplicationCacheDirectory

Field Value

string

ApplicationDataDirectory

The application data directory, where data is deployed. It could be read-only on some platforms.

public static readonly string ApplicationDataDirectory

Field Value

string

ApplicationExecutablePath

Get the path to the application executable.

public static readonly string ApplicationExecutablePath

Field Value

string

Remarks

Might be null if start executable is unknown.

ApplicationLocalDirectory

The application local directory, where user can write local data (included in backup).

public static readonly string ApplicationLocalDirectory

Field Value

string

ApplicationRoamingDirectory

The application roaming directory, where user can write roaming data (included in backup).

public static readonly string ApplicationRoamingDirectory

Field Value

string

ApplicationTemporaryDirectory

The Application temporary directory.

public static readonly string ApplicationTemporaryDirectory

Field Value

string

TemporaryDirectory

The system temporary directory.

public static readonly string TemporaryDirectory

Field Value

string

Properties

ApplicationDataSubDirectory

The (optional) application data subdirectory. If not null or empty, /data will be mounted on ApplicationDataDirectory/ApplicationDataSubDirectory

public static string ApplicationDataSubDirectory { get; set; }

Property Value

string

Remarks

This property should not be written after the VirtualFileSystem static initialization. If so, an InvalidOperationExeception will be thrown.

IsVirtualFileSystemInitialized

public static bool IsVirtualFileSystemInitialized { get; }

Property Value

bool