Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# check file similarities

public static bool AreFileContentsEqual(String path1, String path2) =>
              File.ReadAllBytes(path1).SequenceEqual(File.ReadAllBytes(path2));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #file #similarities
ADD COMMENT
Topic
Name
5+6 =