AssemblyBuilder.CodeBase AssemblyBuilder.CodeBase AssemblyBuilder.CodeBase AssemblyBuilder.CodeBase Property

Definition

Gets the location of the assembly, as specified originally (such as in an AssemblyName object).

public:
 virtual property System::String ^ CodeBase { System::String ^ get(); };
public override string CodeBase { get; }
member this.CodeBase : string
Public Overrides ReadOnly Property CodeBase As String

Property Value

The location of the assembly, as specified originally.

Exceptions

The caller does not have the required permission.

Remarks

To get the absolute path to the loaded manifest-containing file, use the Assembly.Location property.

Security

ReflectionPermission
when invoked late-bound through mechanisms such as InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]). Associated enumeration: MemberAccess.

Applies to