SystemHelper Class |
Namespace: CMS.Helpers
public static class SystemHelper
The SystemHelper type exposes the following members.
Name | Description | |
---|---|---|
APP_GUID_KEY_NAME |
Key name in the web.config for application GUID.
| |
APP_NAME_KEY_NAME |
Key name in the web.config for application name
| |
APPLICATION_NAME_MAX_LENGTH |
Maximum length of application name.
|
Name | Description | |
---|---|---|
ApplicationGuid |
Gets application GUID from application configuration file.
| |
ApplicationIdentifier |
Gets application identifier.
| |
ApplicationInstanceGUID |
Application instance (current run) GUID.
| |
ApplicationName |
Gets application name from application configuration file.
| |
RestartApplicationIfInitFails |
Indicates if application restart should occur after application initialization fails.
| |
SanitizeXML |
Indicates if XML will be preprocessed by CMS.IO streams (removes illegal characters).
| |
WinServicesForceUsage |
Indicates if usage of win services should be forced.
|
Name | Description | |
---|---|---|
Clear |
Clears static properties (initializes fields of properties).
| |
FormatApplicationIdentifier |
Formats the application identifier retrieved from the configuration file.
| |
FormatApplicationName |
Formats the application name retrieved from the configuration file.
| |
GetPeakWorkingSetSize |
Gets the peak working set size.
| |
GetVirtualMemorySize |
Gets the virtual memory size.
| |
GetWorkingSetSize |
Gets the working set size.
| |
RestartApplication |
Tries to restart application and returns if restart was successful.
| |
SetApplicationGuid |
Sets the application GUID
| |
SetApplicationName |
Sets the application name
|