How To Get The Current Project Name And Class Name And Method Name Using Reflection

Get The Current Project Name And Class Name And Method Name Using Reflection

I keep having to lookup this C#.NET trick online.

So I am putting it here as a reminder to myself and for others too.

– This is one way how to get the current project-assembly name…

System.Reflection.Assembly.GetExecutingAssembly().GetName().Name

– This is one way how to get the current class name…

System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.Name

– This is one way how to get the current method name…

System.Reflection.MethodBase.GetCurrentMethod().Name

Voyagers! — 2013-07-18 — Jam 01 — Part 01 Of 02 — Kamoski, Silva, Porter, Williams, McNamara by mkamoski on SoundCloud – Hear the world’s sounds

Voyagers! — 2013-07-18 — Jam 01 — Part 01 Of 02 — Mark Kamoski on keyboards, Mark Silva on bass, Greg Porter on drums, Russ Williams on lead guitar and vocals, Eddie McNamara on rhythm guitar and Abelton. I send a big THANK YOU to Mark and Greg and Russ and Eddie, some of the hands-down most stellar people and players around. This is an excerpt from a recent jam session. This is live music. This was recorded with a single microphone, with no post-production editing. The full-length version can be found at the following link… https://www.dropbox.com/sh/0ymq1gvp0o2yoah/IrO_sowhE5/MP3s-From-Rehearsals/Full-Length-Recordings