Comparing File Binary

I would like to compare 2 files (PDFs) to check if the binary is the same in order to perform another action. The files are likely to have different names however but using a tool like BeyondCompare reassures me the file is the same. Can this be done in UIPath?

How about using the Invoke code activity to call VB.NET comparison processing?
I made a sample.

CompareBinaly.xaml (7.1 KB)