Vanara.PInvoke.WinTrust 4.0.4

Prefix Reserved
dotnet add package Vanara.PInvoke.WinTrust --version 4.0.4                
NuGet\Install-Package Vanara.PInvoke.WinTrust -Version 4.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.WinTrust" Version="4.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.WinTrust --version 4.0.4                
#r "nuget: Vanara.PInvoke.WinTrust, 4.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.WinTrust as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.WinTrust&version=4.0.4

// Install Vanara.PInvoke.WinTrust as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.WinTrust&version=4.0.4                

Vanara

Vanara.PInvoke.WinTrust NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows WinTrust.dll.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.WinTrust

Functions Enumerations Structures
CryptCATAdminAcquireContext CryptCATAdminAcquireContext2 CryptCATAdminAddCatalog CryptCATAdminCalcHashFromFileHandle CryptCATAdminCalcHashFromFileHandle2 CryptCATAdminEnumCatalogFromHash CryptCATAdminReleaseCatalogContext CryptCATAdminReleaseContext CryptCATAdminRemoveCatalog CryptCATAdminResolveCatalogPath CryptCATCatalogInfoFromContext CryptCATCDFClose CryptCATCDFEnumCatAttributes CryptCATCDFOpen CryptCATClose CryptCATEnumerateAttr CryptCATEnumerateCatAttr CryptCATEnumerateMember CryptCATGetAttrInfo CryptCATGetMemberInfo CryptCATHandleFromStore CryptCATOpen CryptCATPersistStore CryptCATPutAttrInfo CryptCATPutCatAttrInfo CryptCATPutMemberInfo CryptCATStoreFromHandle IsCatalogFile OpenPersonalTrustDBDialog OpenPersonalTrustDBDialogEx WintrustAddActionID WintrustAddDefaultForUsage WintrustGetDefaultForUsage WintrustGetRegPolicyFlags WintrustLoadFunctionPointers WintrustRemoveActionID WintrustSetDefaultIncludePEPageHashes WintrustSetRegPolicyFlags WinVerifyTrust WinVerifyTrustEx WTHelperCertCheckValidSignature WTHelperCertFindIssuerCertificate WTHelperCertIsSelfSigned WTHelperGetFileHash WTHelperGetProvCertFromChain WTHelperGetProvPrivateDataFromChain WTHelperGetProvSignerFromChain WTHelperProvDataFromStateData CRYPTCAT_ATTR CRYPTCAT_E CRYPTCAT_OPEN CRYPTCAT_VERSION CCPI CertConfidence CPD DWACTION WIN_CERT_TYPE WSS WSS_SUPPORT WT_TRUSTDBDIALOG WTD_CHOICE WTD_REVOKE WTD_STATEACTION WTD_TRUST WTD_UI WTD_UICONTEXT WTPF CATALOG_INFO CRYPTCATATTRIBUTE CRYPTCATCDF CRYPTCATMEMBER CRYPTCATSTORE HCATALOG HCATINFO CONFIG_CI_PROV_INFO CONFIG_CI_PROV_INFO_RESULT DRIVER_VER_INFO DRIVER_VER_MAJORMINOR WTD_GENERIC_CHAIN_POLICY_CREATE_INFO WTD_GENERIC_CHAIN_POLICY_DATA WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO CRYPT_PROVIDER_CERT CRYPT_PROVIDER_DATA CRYPT_PROVIDER_DEFUSAGE CRYPT_PROVIDER_FUNCTIONS CRYPT_PROVIDER_PRIVDATA CRYPT_PROVIDER_REGDEFUSAGE CRYPT_PROVIDER_SGNR CRYPT_PROVIDER_SIGSTATE CRYPT_PROVUI_DATA CRYPT_PROVUI_FUNCS CRYPT_REGISTER_ACTIONID CRYPT_TRUST_REG_ENTRY HCATADMIN HCRYPTMSG SPC_INDIRECT_DATA_CONTENT WIN_CERTIFICATE WINTRUST_BLOB_INFO WINTRUST_CATALOG_INFO WINTRUST_CERT_INFO WINTRUST_FILE_INFO WINTRUST_SGNR_INFO WINTRUST_SIGNATURE_SETTINGS WINTRUST_DATA
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Vanara.PInvoke.WinTrust:

Package Downloads
Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.4 29,382 9/13/2024
4.0.3 13,604 8/5/2024
4.0.2 6,026 6/24/2024
4.0.1 12,381 4/30/2024
4.0.0 10,356 3/29/2024
4.0.0-beta2 241 1/22/2024
4.0.0-beta 237 11/20/2023
3.4.17 31,299 10/18/2023
3.4.16 15,315 8/7/2023
3.4.15 15,647 5/18/2023
3.4.14 10,094 4/15/2023
3.4.13 13,529 2/4/2023
3.4.12 2,771 1/15/2023
3.4.11 2,861 11/15/2022
3.4.10 4,153 10/25/2022
3.4.9 3,011 10/3/2022
3.4.8 2,804 9/16/2022
3.4.7 2,233 9/3/2022
3.4.6 3,774 8/7/2022
3.4.5 2,237 7/17/2022
3.4.4 1,106 7/5/2022
3.4.3 4,127 6/14/2022
3.4.2 3,744 5/13/2022
3.4.1 2,366 5/5/2022
3.4.0 2,759 3/14/2022
3.3.15 859 12/27/2021
3.3.14 1,006 10/26/2021
3.3.13 897 9/30/2021
3.3.12 1,075 8/30/2021
3.3.11 6,960 7/22/2021
3.3.10 954 6/4/2021
3.3.9 891 5/7/2021
3.3.8 933 4/7/2021
3.3.7 921 3/24/2021
3.3.6 938 3/19/2021
3.3.5 883 3/1/2021
3.3.4 880 2/11/2021
3.3.3 845 2/3/2021
3.3.2 901 1/21/2021
3.3.1 937 1/20/2021
3.3.0 1,016 11/20/2020
3.2.21 924 11/13/2020
3.2.20 1,037 11/8/2020
3.2.19 975 10/23/2020
3.2.18 1,002 10/21/2020
3.2.17 1,101 9/20/2020
3.2.16 1,023 9/7/2020
3.2.15 1,063 8/30/2020
3.2.14 937 8/20/2020
3.2.13 1,079 7/27/2020
3.2.12 989 7/13/2020
3.2.11 1,073 6/28/2020
3.2.10 1,048 6/14/2020
3.2.9 1,049 6/3/2020
3.2.7 1,013 5/4/2020
3.2.6 969 4/21/2020
3.2.5 1,025 4/15/2020
3.2.4 1,029 4/12/2020
3.2.3 993 4/1/2020
3.2.2 936 3/24/2020
3.2.1 1,027 3/17/2020
3.2.0 1,260 2/27/2020
3.1.9 1,030 1/17/2020
3.1.8 1,068 1/13/2020
3.1.7 1,085 1/6/2020
3.1.6 1,104 12/12/2019
3.1.5 1,152 11/26/2019
3.1.4 1,039 11/25/2019
3.1.3 993 11/8/2019
3.1.2 1,032 11/4/2019
3.1.1 1,063 10/17/2019
3.1.0 1,049 10/3/2019
3.0.1 1,105 9/20/2019
3.0.0 912 8/27/2019
2.3.11 979 6/9/2019

Currently implements:

Functions
CryptCATAdminAcquireContext CryptCATAdminAcquireContext2 CryptCATAdminAddCatalog CryptCATAdminCalcHashFromFileHandle CryptCATAdminCalcHashFromFileHandle2 CryptCATAdminEnumCatalogFromHash CryptCATAdminReleaseCatalogContext CryptCATAdminReleaseContext CryptCATAdminRemoveCatalog CryptCATAdminResolveCatalogPath CryptCATCatalogInfoFromContext CryptCATCDFClose CryptCATCDFEnumCatAttributes CryptCATCDFOpen CryptCATClose CryptCATEnumerateAttr CryptCATEnumerateCatAttr CryptCATEnumerateMember CryptCATGetAttrInfo CryptCATGetMemberInfo CryptCATHandleFromStore CryptCATOpen CryptCATPersistStore CryptCATPutAttrInfo CryptCATPutCatAttrInfo CryptCATPutMemberInfo CryptCATStoreFromHandle IsCatalogFile OpenPersonalTrustDBDialog OpenPersonalTrustDBDialogEx WintrustAddActionID WintrustAddDefaultForUsage WintrustGetDefaultForUsage WintrustGetRegPolicyFlags WintrustLoadFunctionPointers WintrustRemoveActionID WintrustSetDefaultIncludePEPageHashes WintrustSetRegPolicyFlags WinVerifyTrust WinVerifyTrustEx WTHelperCertCheckValidSignature WTHelperCertFindIssuerCertificate WTHelperCertIsSelfSigned WTHelperGetFileHash WTHelperGetProvCertFromChain WTHelperGetProvPrivateDataFromChain WTHelperGetProvSignerFromChain WTHelperProvDataFromStateData

Structures
CATALOG_INFO CONFIG_CI_PROV_INFO CONFIG_CI_PROV_INFO_RESULT CRYPTCATATTRIBUTE CRYPTCATCDF CRYPTCATMEMBER CRYPTCATSTORE CRYPT_PROVIDER_CERT CRYPT_PROVIDER_DATA CRYPT_PROVIDER_DEFUSAGE CRYPT_PROVIDER_FUNCTIONS CRYPT_PROVIDER_PRIVDATA CRYPT_PROVIDER_REGDEFUSAGE CRYPT_PROVIDER_SGNR CRYPT_PROVIDER_SIGSTATE CRYPT_PROVUI_DATA CRYPT_PROVUI_FUNCS CRYPT_REGISTER_ACTIONID CRYPT_TRUST_REG_ENTRY DRIVER_VER_INFO DRIVER_VER_MAJORMINOR HCATADMIN HCATALOG HCATINFO HCRYPTMSG SPC_INDIRECT_DATA_CONTENT WINTRUST_BLOB_INFO WINTRUST_CATALOG_INFO WINTRUST_CERT_INFO WINTRUST_DATA WINTRUST_FILE_INFO WINTRUST_SGNR_INFO WINTRUST_SIGNATURE_SETTINGS WIN_CERTIFICATE WTD_GENERIC_CHAIN_POLICY_CREATE_INFO WTD_GENERIC_CHAIN_POLICY_DATA WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO