PlatformFolders Class
Namespace: Stride.CoreAssembly: Stride.Core.dll
Folders used for the running platform.
public class PlatformFolders
Name | Description | |
---|---|---|
Fields | ||
ApplicationBinaryDirectory | The application directory, where assemblies are deployed. It could be read-only on some platforms. |
|
ApplicationCacheDirectory | The application cache directory, where user can write data that won't be backup. |
|
ApplicationDataDirectory | The application data directory, where data is deployed. It could be read-only on some platforms. |
|
ApplicationExecutablePath | Get the path to the application executable. |
|
ApplicationLocalDirectory | The application local directory, where user can write local data (included in backup). |
|
ApplicationRoamingDirectory | The application roaming directory, where user can write roaming data (included in backup). |
|
ApplicationTemporaryDirectory | The Application temporary directory. |
|
TemporaryDirectory | The system temporary directory. |
|
Properties | ||
ApplicationDataSubDirectory | The (optional) application data subdirectory. If not null or empty, /data will be mounted on ApplicationDataDirectory/ApplicationDataSubDirectory |
|
IsVirtualFileSystemInitialized |
Fields
ApplicationBinaryDirectory
The application directory, where assemblies are deployed. It could be read-only on some platforms.
public static readonly string ApplicationBinaryDirectory
Field Value
Type | Description |
---|---|
System.String |
ApplicationCacheDirectory
The application cache directory, where user can write data that won't be backup.
public static readonly string ApplicationCacheDirectory
Field Value
Type | Description |
---|---|
System.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
Type | Description |
---|---|
System.String |
ApplicationExecutablePath
Get the path to the application executable.
public static readonly string ApplicationExecutablePath
Field Value
Type | Description |
---|---|
System.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
Type | Description |
---|---|
System.String |
ApplicationRoamingDirectory
The application roaming directory, where user can write roaming data (included in backup).
public static readonly string ApplicationRoamingDirectory
Field Value
Type | Description |
---|---|
System.String |
ApplicationTemporaryDirectory
The Application temporary directory.
public static readonly string ApplicationTemporaryDirectory
Field Value
Type | Description |
---|---|
System.String |
TemporaryDirectory
The system temporary directory.
public static readonly string TemporaryDirectory
Field Value
Type | Description |
---|---|
System.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
Type | Description |
---|---|
System.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
Type | Description |
---|---|
System.Boolean |