Click or drag to resize

CryptoKeyCache.TryGetCachedValue Method

Get the cached value if it exists in the cache

Namespace: Lextm.SharpSnmpLib.Security
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
public bool TryGetCachedValue(
	byte[] password,
	byte[] engineId,
	out byte[]?? cachedValue
)

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