This documentation is archived and is not being maintained.

VerifyResult Enumeration

Specifies the result of a certificate or signature verification.

Namespace:  System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

public enum class VerifyResult
<object property="enumerationMemberName" .../>

Member nameDescription
SuccessThe verification was successful.
InvalidSignatureThe signature is not valid.
CertificateRequiredThe X.509 certificate is not available to verify the signature.
InvalidCertificateThe X.509 certificate is not valid.
ReferenceNotFoundA reference relationship to the signature was not found.
NotSignedThe specified package or part has no signature.

The following example shows how to use the VerifyResult enumeration.

No code example is currently available or this language may not be supported.

For the complete sample, see Creating a Package with a Digital Signature Sample.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: