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 and save the workbook and then recheck, we find its signature has become invalid.