log4net SDK Reference

SystemInfo.ConfigurationFileLocation Property

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

[Visual Basic]
Public Shared ReadOnly Property ConfigurationFileLocation As String
[C#]
public static string ConfigurationFileLocation {get;}

Property Value

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

SystemInfo Class | log4net.Util Namespace