System.Reflection.Assembly.Location Property

Gets the full path or UNC location of the loaded file that contains the manifest.

Syntax

public virtual string Location { get; }

Value

Location of the loaded assembly.

Remarks

To get the location before the file has been shadow-copied, use the Assembly.CodeBase property.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0