Gets the assembly that contains the code that is currently executing.
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 Assembly.GetCallingAssembly.