| AssemblyLocation Property |
Gets the path or UNC location of the loaded file that contains the manifest.
Namespace: System.ReflectionAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntaxpublic virtual string Location { get; }Return Value
Type:
StringThe 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| Exception | Condition |
|---|
| NotSupportedException | The current assembly is a dynamic assembly, represented by an AssemblyBuilder object. |
See Also