View Single Post
  #2 (permalink)  
Old February 4th, 2008, 12:59 PM
samjudson's Avatar
samjudson samjudson is offline
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

There's a little thing called MSDN, which contains documentation on all the .Net framework classes. If you'd take the time to look up the piece of code you wrote above you'd realise that Assembly.GetExecutingAssembly() returns a System.Reflection.Assembly class.

Take a look at the following page and see if you can guess which property might be the one you want:

http://msdn2.microsoft.com/en-us/lib...roperties.aspx


/- Sam Judson : Wrox Technical Editor -/