Get filename from assembly

  • Thread starter Thread starter Steven
  • Start date Start date
S

Steven

Hi

I have an assembly for a project. within this assembly there is a file named
Form1.cs that has a class named frmLocalise.
I can load the application assembly "Assembly.LoadFrom(<filename>)".

What I need to do is get the name of the file that the frmLocalise class is
in.

Is this possible? If so how?

Thanks in advance.

Steven.
 
Steven said:
I have an assembly for a project. within this assembly there is a file
named
Form1.cs that has a class named frmLocalise.
I can load the application assembly "Assembly.LoadFrom(<filename>)".

What I need to do is get the name of the file that the frmLocalise class
is
in.

Is this possible? If so how?

This information is not available at runtime. I am wondering why you'd need
this information.
 
Back
Top