AppDomainManager.EntryAssembly Property

Gets the entry assembly for an application.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

public virtual Assembly EntryAssembly { get; }
/** @property */
public Assembly get_EntryAssembly ()

public function get EntryAssembly () : Assembly

Not applicable.

Property Value

An Assembly object representing the entry assembly for the application.

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 System.AppDomain.ExecuteAssembly method.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: