Easiest way to read a config file belonging to another application

c#, configuration-files

Solution

Here's MSDN on OpenExeConfiguration.

Edit: link to a how-to on eggheadcafe.com disappeared. Looks like EggheadCafe moved to NullSkull but dropped the article ID's.

Problem

Other than using raw XML, is there an easy way in .NET to open and read a config file belonging to another assembly...? I don't need to write to it, just grab a couple of values from it.

Original source