CryptoProviderFactory.CacheCustomProviders Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a bool controlling if SignatureProvider instances created by CustomCryptoProvider
should be cached. Default is false.
public bool CacheCustomProviders { get; set; }
member this.CacheCustomProviders : bool with get, set
Public Property CacheCustomProviders As Boolean
Property Value
Remarks
When true, signature providers returned by Create(String, Object[]) are cached using the same CryptoProviderCache used for built-in providers. This avoids repeated provider creation and key materialisation on every signature validation.