SignedCode.Verify method

[The Verify method is available for use in the operating systems specified in the Requirements section. Instead, use Platform Invocation Services (PInvoke) to call the Win32 API SignerSignEx, SignerTimeStampEx, and WinVerifyTrust functions to sign content with an Authenticode digital signature. For information about PInvoke, see Platform Invoke Tutorial. The .NET and CryptoAPI via P/Invoke: Part 1 and .NET and CryptoAPI via P/Invoke: Part 2 subsections of Extending .NET Cryptography with CAPICOM and P/Invoke may also be helpful.]

The Verify method verifies the Authenticode signature on the signed code.

Syntax

SignedCode.Verify( _
  [ ByVal bUIAllowed ] _
)

Parameters

bUIAllowed [in, optional]

A Boolean value that specifies whether a dialog box is used to verify the signature. If true, a dialog box is generated to determine whether the code is trusted. The default value is false.

Return value

This method does not return a value.

Requirements

Requirement Value
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll

See also

SignedCode