There is (as part of GitSharp) an open source diff engine in c# with a very easy to use API and (as part of GitSharp.Demo) a WPF diff viewer. The code should not be too difficult to extract from the project.
Find more information here: http://www.eqqon.com/index.php/GitSharp#GitSharp.Demo