AppDomainManager.EntryAssembly AppDomainManager.EntryAssembly AppDomainManager.EntryAssembly AppDomainManager.EntryAssembly Property

Definition

Gets the entry assembly for an application.

public:
 virtual property System::Reflection::Assembly ^ EntryAssembly { System::Reflection::Assembly ^ get(); };
[get: System.Security.SecurityCritical]
public virtual System.Reflection.Assembly EntryAssembly { get; }
member this.EntryAssembly : System.Reflection.Assembly
Public Overridable ReadOnly Property EntryAssembly As Assembly

Property Value

The entry assembly for the application.

Remarks

If the application is a manifest-activated application, the entry assembly is determined from the application manifest. If the application is not manifest activated, the entry assembly is the process executable in the default application domain. In other application domains, the entry assembly is the first executable that was executed by the AppDomain.ExecuteAssembly method.

Applies to