SystemInfo ClassApache log4net™ SDK Documentation
Utility class for system specific information.
Inheritance Hierarchy

SystemObject
  log4net.UtilSystemInfo

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

public sealed class SystemInfo

The SystemInfo type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberApplicationBaseDirectory
Gets the base directory for this AppDomain.
Public propertyStatic memberApplicationFriendlyName
Get this application's friendly name
Public propertyStatic memberConfigurationFileLocation
Gets the path to the configuration file for the current AppDomain.
Public propertyStatic memberCurrentThreadId
Gets the ID of the current thread.
Public propertyStatic memberEntryAssemblyLocation
Gets the path to the file that first executed in the current AppDomain.
Public propertyStatic memberHostName
Get the host name or machine name for the current machine
Public propertyStatic memberNewLine
Gets the system dependent line terminator.
Public propertyStatic memberNotAvailableText
Text to output when an unsupported feature is requested.
Public propertyStatic memberNullText
Text to output when a null is encountered.
Public propertyStatic memberProcessStartTime Obsolete.
Get the start time for the current process.
Public propertyStatic memberProcessStartTimeUtc
Get the UTC start time for the current process.
Top
Methods

  NameDescription
Public methodStatic memberAssemblyFileName
Gets the file name portion of the Assembly, including the extension.
Public methodStatic memberAssemblyLocationInfo
Gets the assembly location path for the specified assembly.
Public methodStatic memberAssemblyQualifiedName
Gets the fully qualified name of the Type, including the name of the assembly from which the Type was loaded.
Public methodStatic memberAssemblyShortName
Gets the short name of the Assembly.
Public methodStatic memberConvertToFullPath
Convert a path into a fully qualified local file path.
Public methodStatic memberCreateArgumentOutOfRangeException
Public methodStatic memberCreateCaseInsensitiveHashtable
Creates a new case-insensitive instance of the Hashtable class with the default initial capacity.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberEqualsIgnoringCase
Tests two strings for equality, the ignoring case.
Public methodStatic memberGetAppSetting
Lookup an application setting
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetTypeFromString(String, Boolean, Boolean)
Loads the type specified in the type string.
Public methodStatic memberGetTypeFromString(Assembly, String, Boolean, Boolean)
Loads the type specified in the type string.
Public methodStatic memberGetTypeFromString(Type, String, Boolean, Boolean)
Loads the type specified in the type string.
Public methodStatic memberNewGuid
Generate a new guid
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodStatic memberTryParse(String, Int16)
Parse a string into an Int16 value
Public methodStatic memberTryParse(String, Int32)
Parse a string into an Int32 value
Public methodStatic memberTryParse(String, Int64)
Parse a string into an Int64 value
Top
Fields

  NameDescription
Public fieldStatic memberEmptyTypes
Gets an empty array of types.
Top
Remarks

Utility class of static methods for system specific information.

See Also

Reference