Utility class for system specific information.
Inheritance Hierarchy
log4net.UtilSystemInfo
Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The SystemInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() ![]() | ApplicationBaseDirectory |
Gets the base directory for this AppDomain.
|
![]() ![]() | ApplicationFriendlyName |
Get this application's friendly name
|
![]() ![]() | ConfigurationFileLocation |
Gets the path to the configuration file for the current AppDomain.
|
![]() ![]() | CurrentThreadId |
Gets the ID of the current thread.
|
![]() ![]() | EntryAssemblyLocation |
Gets the path to the file that first executed in the current AppDomain.
|
![]() ![]() | HostName |
Get the host name or machine name for the current machine
|
![]() ![]() | NewLine |
Gets the system dependent line terminator.
|
![]() ![]() | NotAvailableText |
Text to output when an unsupported feature is requested.
|
![]() ![]() | NullText |
Text to output when a null is encountered.
|
![]() ![]() | ProcessStartTime | Obsolete.
Get the start time for the current process.
|
![]() ![]() | ProcessStartTimeUtc |
Get the UTC start time for the current process.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | AssemblyFileName |
Gets the file name portion of the Assembly, including the extension.
|
![]() ![]() | AssemblyLocationInfo |
Gets the assembly location path for the specified assembly.
|
![]() ![]() | AssemblyQualifiedName | |
![]() ![]() | AssemblyShortName |
Gets the short name of the Assembly.
|
![]() ![]() | ConvertToFullPath |
Convert a path into a fully qualified local file path.
|
![]() ![]() | CreateArgumentOutOfRangeException |
Create an ArgumentOutOfRangeException |
![]() ![]() | CreateCaseInsensitiveHashtable |
Creates a new case-insensitive instance of the Hashtable class with the default initial capacity.
|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | EqualsIgnoringCase |
Tests two strings for equality, the ignoring case.
|
![]() ![]() | GetAppSetting |
Lookup an application setting
|
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() ![]() | GetTypeFromString(String, Boolean, Boolean) |
Loads the type specified in the type string.
|
![]() ![]() | GetTypeFromString(Assembly, String, Boolean, Boolean) |
Loads the type specified in the type string.
|
![]() ![]() | GetTypeFromString(Type, String, Boolean, Boolean) |
Loads the type specified in the type string.
|
![]() ![]() | NewGuid |
Generate a new guid
|
![]() | ToString | (Inherited from Object.) |
![]() ![]() | TryParse(String, Int16) |
Parse a string into an Int16 value
|
![]() ![]() | TryParse(String, Int32) |
Parse a string into an Int32 value
|
![]() ![]() | TryParse(String, Int64) |
Parse a string into an Int64 value
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | EmptyTypes |
Gets an empty array of types.
|
Remarks
Utility class of static methods for system specific information.
See Also