This topic has not yet been rated - Rate this topic

Assembly.GetEntryAssembly Method

Gets the process executable in the default application domain. In other application domains, this is the first executable that was executed by AppDomain.ExecuteAssembly.

[Visual Basic]
Public Shared Function GetEntryAssembly() As Assembly
[C#]
public static Assembly GetEntryAssembly();
[C++]
public: static Assembly* GetEntryAssembly();
[JScript]
public static function GetEntryAssembly() : Assembly;

Return Value

The Assembly that is the process executable in the default application domain, or the first executable that was executed by AppDomain.ExecuteAssembly.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

Assembly Class | Assembly Members | System.Reflection Namespace

Did you find this helpful?
(1500 characters remaining)