Check if Digital Signature of VBA Code is Valid

Check if Digital Signature of VBA Code is Valid in C#

The following code demonstrates the usage of this property using the sample Excel file, which you can download from the provided link. The same Excel file has a valid signature, but when we modify its VBA code, save the workbook, and then recheck, we find that its signature has become invalid.