Gets the assembly that contains the code that is currently executing.
Assembly: mscorlib (in mscorlib.dll)
'Declaration <SecuritySafeCriticalAttribute> _ Public Shared Function GetExecutingAssembly As Assembly
[SecuritySafeCriticalAttribute] public static Assembly GetExecutingAssembly()
To get the assembly that contains the method that called the currently executing code, use GetCallingAssembly.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Xbox 360, Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.