AppDomainManager.EntryAssembly Property

Definition

Gets the entry assembly for an application.

C#
public virtual System.Reflection.Assembly EntryAssembly { get; }
C#
public virtual System.Reflection.Assembly EntryAssembly { [System.Security.SecurityCritical] get; }

Property Value

The entry assembly for the application.

Attributes

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

製品 バージョン
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1