TMiTeC_Component
TMiTeC_Component is ancestor for most of MSICS components. It contains data manipulation functions for writing and reading data to/from System Information File and some common properties.
MSI_Common.pas
TObject → TPersistent → TComponent → TMiTeC_Component
Methods
|
public |
Clears all data |
|
|
public |
Loads data from System Information File |
|
|
public |
Refreshes data from current system |
|
|
public |
Saves data to System Information File |
|
|
public |
Sets session ID. Subsequent RefreshData takes it into consideration when detecting dependent data. You can use it for gathering data e.g. from service for different logged users (every logged user has its own session) |
|
|
public |
Loads TStorageInfoRecord or any other user defined header from System Information File |
Properties
|
_About |
published, read-only |
string |
Contains copyright, suite name and version |
|
_Refresh |
published, read-only |
string |
Serves as button for getting system information in design time in Object Inspector |
|
ConvertTimeToLocal |
public |
boolean |
If True all timestamps dependent on timezones are converted to local time else all timestamps are left intact |
|
DataAvailable |
public, read-only |
boolean |
True indicates there are data gathered from current system or loaded from System Information File |
|
LiveData |
published, read-only |
boolean |
True indicates data is from from current system, False indicates data was loaded from System Information File |
|
LoggedUser |
public, read-only |
string |
Contains name of logged user (in case parent application is service then it contains not service accoutn but really logged user) |
|
SessionID |
public, read-only |
Cardinal |
Contains session ID of logged user session |
|
SessionType |
public, read-only |
Contains active session types |
|
|
SID |
public, read-only |
string |
Contains SID (security identifier) of logged user |
|
StorageFilename |
public, read-only |
string |
If data was loaded from System Information File it contains its filename otherwise is empty |
|
StorageInfo |
public, read-only |
if data was loaded from System Information File it contains information about this file and contained data |
|
|
StreamCodeProc |
public, read-only |
References used encoding procedure for data reading/writing from/to streams to System Information File |
Events
|
OnReadHeader |
public |
Event fires when Summary Information is read from System Information File. When assigned it replaces default header reader. |
|
|
OnWriteHeader |
public |
Event fires when Summary Information is written to System Information File. When assigned it replaces default header writer. |
Created with the Personal Edition of HelpNDoc: Benefits of a Help Authoring Tool