SystemInfo ConfigurationFileLocation Property | Apache log4net™ SDK Documentation

Gets the path to the configuration file for the current AppDomain.

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

C#
VB
C++
F#
Copy

    public static string ConfigurationFileLocation { get; }

    Public Shared ReadOnly Property ConfigurationFileLocation As String
    	Get

    public:
    static property String^ ConfigurationFileLocation {
    	String^ get ();
    }

    static member ConfigurationFileLocation : string with get

#### Property Value

Type: String
The path to the configuration file for the current AppDomain.
Remarks

The .NET Compact Framework 1.0 does not have a concept of a configuration file. For this runtime, we use the entry assembly location as the root for the configuration file name.

The value returned may be either a local file path or a URI.

See Also

#### Reference

SystemInfo Class
log4net.Util Namespace