Finding a class in an assembly?
My program compiles script files written in VB.NET at run-time into an assembly in memory using the built-in compiler stuff. Now, let's say my script has this in it:
VB Code:
Namespace Testing
Public Class Abc
Public Sub TryMe()
System.Windows.Forms.MessageBox.Show("Hello World")
End Sub
End Class
End Namespace
Well, my program will take this script and compile it at run-time into an assembly in memory.
Is there a way to get a list of the namespaces/classes/etc. contained within the assembly, or search through it for a class with a certain name and return its information?
I'm pretty new to assembly stuff and compiling dynamic code at run-time, so I'm not really sure how to do much yet. Any help would be greatly appreciated.
Thanks in advance,
Satch