Click or drag to resize
AssemblyLocation Property
Gets the path or UNC location of the loaded file that contains the manifest.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual string Location { get; }

Return Value

Type: String
The location of the loaded file that contains the manifest. If the loaded file was shadow-copied, the location is that of the file after being shadow-copied. If the assembly is loaded from a byte array, such as when using the Load(Byte) method overload, the value returned is an empty string ("").
Exceptions
ExceptionCondition
NotSupportedExceptionThe current assembly is a dynamic assembly, represented by an AssemblyBuilder object.
See Also