CryptoProviderCache.TryAdd(SignatureProvider) Method
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.
Tries to add a SignatureProvider to this cache.
public abstract bool TryAdd (Microsoft.IdentityModel.Tokens.SignatureProvider signatureProvider);
abstract member TryAdd : Microsoft.IdentityModel.Tokens.SignatureProvider -> bool
Public MustOverride Function TryAdd (signatureProvider As SignatureProvider) As Boolean
Parameters
- signatureProvider
- SignatureProvider
The SignatureProvider to cache.
Returns
True if the SignatureProvider was added; false if the cache already contained the SignatureProvider.