CompareLogic compareLogic = new CompareLogic(); //Trial Mode
//CompareLogic compareLogic = new CompareLogic("place user name here", "place license key here"); //License Mode
//Compare two strings
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 Text
OutputTextLogic outputLogic = new OutputTextLogic();
outputLogic.OutputToFile(result, "OutputTextTest.txt");
//Show the file in the default viewer
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = "OutputTextTest.txt";
proc.Start();