GetExecutingAssembly Method

Assembly.GetExecutingAssembly Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the assembly that contains the code that is currently executing.

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

'Declaration
Public Shared Function GetExecutingAssembly As Assembly

Return Value

Type: System.Reflection.Assembly
A Assembly representing the assembly that contains the code that is currently executing.

To get the assembly that contains the method that called the currently executing code, use GetCallingAssembly.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft