Skip to content

gojimmypi/ReflectionDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReflectionDemo

This example shows an external class library in a completely separate project DLL, accessing all of the main app methods and variables.

ReflectionDemo is the main app.

BlackBox is the external DLL class library.

Latest update includes ability to view source code programmatically, as well as view stackframe info for each method. Thanks @ITMayWorkDev

Unresolved: peeking at local variable values.

Getting Stack Local Variables

Note that due to an obsolete DLL library being used, this code needs to be compiled in x86 for full functionality. Specifically in SymUtil.cs:

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.1\ISymWrapper.dll

About

C# .Net System.Reflection demo; Access main app methods and variables from external class DLL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages