Class SysConfig
- Namespace
- Tripous
- Assembly
- Tripous.dll
Provides system configuration information.
public static class SysConfig
- Inheritance
-
SysConfig
- Inherited Members
Properties
AppDataFolderPath
Returns the AppFolderPath appending a /Data to it, e.g. $HOME/.config/MyApp/Data
public static string AppDataFolderPath { get; set; }
Property Value
AppExeFolderPath
Returns the path to the folder with the executable.
NOTE: Valid with desktop apps only.
public static string AppExeFolderPath { get; set; }
Property Value
AppFolderPath
Returns the path where the application uses to create files, such as setting files, etc.
public static string AppFolderPath { get; set; }
Property Value
AppLogFolderPath
The path for the Logs folder.
public static string AppLogFolderPath { get; }
Property Value
AppName
Returns the application name, e.g. MyApp
NOTE: Valid with desktop apps only.
public static string AppName { get; set; }
Property Value
AppTempFolderPath
Returns a path the application can use as a temp folder path.
public static string AppTempFolderPath { get; set; }
Property Value
ApplicationMode
The mode of the application (Desktop, Web, Service)
public static ApplicationMode ApplicationMode { get; set; }
Property Value
MainAssembly
Gets the assembly of the main executable.
The user has to manually set the main assembly in Compact Framework. Otherwise those properties that use the main assembly in order to infer various paths will throw exceptions.
public static Assembly MainAssembly { get; set; }