Click or drag to resize

CryptoKeyCache.TryGetCachedValue Method

Get the cached value if it exists in the cache

Namespace: GSF.Net.Snmp.Security
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.239-beta
Syntax
public bool TryGetCachedValue(
	byte[] password,
	byte[] engineId,
	out byte[] cachedValue
)
View Source

Parameters

password  Byte[]
password associated with cached value
engineId  Byte[]
engine id associated with cached value
cachedValue  Byte[]
cached value, if no cache exists for specified password/engine id combination default value is assigned to cachedValue

Return Value

Boolean
True if value exists in cache for specified password/engine id combination, false otherwise
See Also