title: Getting assembly name
body: <p>C#'s exception class has a source property which is set to the name of the assembly by default.<br>
  Is there another way to get this exact string (without parsing a different string)?  </p>
  
  <p>I have tried the following:</p>
  
  <pre><code>catch(Exception e)
  {
      string str = e.Source;         
      //"EPA" - what I want               
      str = System.Reflection.Assembly.GetExecutingAssembly().FullName;
      //"EPA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
      str = typeof(Program).FullName;
      //"EPA.Program"
      str = typeof(Program).Assembly.FullName;
      //"EPA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
      str = typeof(Program).Assembly.ToString();
      //"EPA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
      str = typeof(Program).AssemblyQualifiedName;
      //"EPA.Program, EPA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
  }
  </code></pre>