SystemInfo AssemblyLocationInfo Method | Apache log4net™ SDK Documentation

Gets the assembly location path for the specified assembly.

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 AssemblyLocationInfo(
    	Assembly myAssembly
    )

    Public Shared Function AssemblyLocationInfo (
    	myAssembly As Assembly
    ) As String

    public:
    static String^ AssemblyLocationInfo(
    	Assembly^ myAssembly
    )

    static member AssemblyLocationInfo :
            myAssembly : Assembly -> string

#### Parameters

myAssembly
  Type: System.Reflection
  Assembly
  The assembly to get the location for.

#### Return Value

Type: String
The location of the assembly.
Remarks

This method does not guarantee to return the correct path to the assembly. If only tries to give an indication as to where the assembly was loaded from.

See Also

#### Reference

SystemInfo Class
log4net.Util Namespace