What's Changed?
Quick Start C#

CompareLogic compareLogic = new CompareLogic(); //Trial Mode

//CompareLogic compareLogic = new CompareLogic("place user name here", "place license key here"); //License Mode

 

//Compare two files

File.WriteAllText("original.txt", "This line was deleted.\r\nThis line is the same.\r\nThis line is a changed.");

File.WriteAllText("changed.txt", "This line is the same.\r\nThis line was changed.\r\nThis line was added.");

ComparisonResult result = compareLogic.CompareFiles("original.txt", "changed.txt");

 

//Output to HTML, also can export to CSV, or DataTable

OutputHtmlLogic outputLogic = new OutputHtmlLogic();

outputLogic.OutputToFile(result, "CompareFilesTest.html");

 

//Show the file in the browser

System.Diagnostics.Process proc = new System.Diagnostics.Process();

proc.StartInfo.FileName = "CompareFilesTest.html";

proc.Start();