OpenPetra
Free Administration Software for Non-Profits
Ict.Common.TSrvSetting Class Reference

Class for storing Server settings. Once instantiated, Server settings can only be read! Server Settings are gathered from the Command line, .NET Configuration files and other ways (eg. determining the OS on which the server is running on-the-fly) at Server start-up. More...

Public Member Functions

 TSrvSetting ()
 Initialises the internal variables that hold the Server Settings, using the current config file. More...
 

Properties

static String ConfigurationFile [get]
 Path and name of .NET Configuration File (e.g. specified via command line option '-C'). More...
 
static TFileVersionInfo ApplicationVersion [get]
 Assembly Version of the Server's .exe More...
 
static TExecutingOSEnum ExecutingOS [get]
 Operating System the Server is running on More...
 
static TDBType RDMBSType [get]
 Type of RDBMS (Relational Database Management System) that the Server is connected to More...
 
static String HostName [get]
 Computer name of the Server More...
 
static String HostIPAddresses [get]
 IP Address(es) of the Server More...
 
static System.Int16 IPBasePort [get]
 IP Address at which the Server is listening for Client connection/disconnection requests More...
 
static String ServerLogFile [get]
 This is the path to the server log file More...
 
static string ApplicationBinFolder [get]
 Folder that the Application is running from. Important only when the Server is run as a Windows Service as in this situation the folder that the Application is running from cannot be automatically determined (SERVICES.EXE is running the application in that situation from the {SystemRoot%}\System32 directory)! More...
 

Detailed Description

Class for storing Server settings. Once instantiated, Server settings can only be read! Server Settings are gathered from the Command line, .NET Configuration files and other ways (eg. determining the OS on which the server is running on-the-fly) at Server start-up.

Constructor & Destructor Documentation

◆ TSrvSetting()

Ict.Common.TSrvSetting.TSrvSetting ( )
inline

Initialises the internal variables that hold the Server Settings, using the current config file.

Returns
void

Property Documentation

◆ ApplicationBinFolder

string Ict.Common.TSrvSetting.ApplicationBinFolder
staticget

Folder that the Application is running from. Important only when the Server is run as a Windows Service as in this situation the folder that the Application is running from cannot be automatically determined (SERVICES.EXE is running the application in that situation from the {SystemRoot%}\System32 directory)!

◆ ApplicationVersion

TFileVersionInfo Ict.Common.TSrvSetting.ApplicationVersion
staticget

Assembly Version of the Server's .exe

◆ ConfigurationFile

String Ict.Common.TSrvSetting.ConfigurationFile
staticget

Path and name of .NET Configuration File (e.g. specified via command line option '-C').

◆ ExecutingOS

TExecutingOSEnum Ict.Common.TSrvSetting.ExecutingOS
staticget

Operating System the Server is running on

◆ HostIPAddresses

String Ict.Common.TSrvSetting.HostIPAddresses
staticget

IP Address(es) of the Server

◆ HostName

String Ict.Common.TSrvSetting.HostName
staticget

Computer name of the Server

◆ IPBasePort

System.Int16 Ict.Common.TSrvSetting.IPBasePort
staticget

IP Address at which the Server is listening for Client connection/disconnection requests

◆ RDMBSType

TDBType Ict.Common.TSrvSetting.RDMBSType
staticget

Type of RDBMS (Relational Database Management System) that the Server is connected to

◆ ServerLogFile

String Ict.Common.TSrvSetting.ServerLogFile
staticget

This is the path to the server log file


The documentation for this class was generated from the following file: