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.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System.Reflection.AssemblyA 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.
Show: