Contributions
Re: Check files without certification information
I did similar things but using script: My code like var certinf0 = aqFileSystem.GetFielInfo(file).CertificateInfo; then I try to do some comparison like aqObject.CompareProperty(certinfo.Subject, cmpContains, "some signature", true, 0); Error occured:946Views0likes1CommentRe: Check files without certification information
Hi Marscha, Thanks for your feedback... however I know this Weblink and I have to highlighten one sentence in there ....If you try to call properties or methods on such a certificate from your tests, an error will occur....... Means I got an "empty" CertInfo back in case of that the file does not have any digital signature. My question is how can I know its an "empty" CertInfo before I do any checks on its properties....965Views0likes3CommentsCheck files without certification information
if the file does not have Certification information, The returned aqFileCertificateInfo will be one with empty string value. Error will be occured when someone try to check property. How can I know its a file without certification information before I try to do more checks?1KViews0likes7Comments