CryptoKeyCacheTryGetCachedValue Method |
Get the cached value if it exists in the cache
Namespace: Lextm.SharpSnmpLib.SecurityAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic bool TryGetCachedValue(
byte[] password,
byte[] engineId,
out byte[]?? cachedValue
)
Public Function TryGetCachedValue (
password As Byte(),
engineId As Byte(),
<OutAttribute> ByRef cachedValue As Byte()
) As Boolean
Dim instance As CryptoKeyCache
Dim password As Byte()
Dim engineId As Byte()
Dim cachedValue As Byte()
Dim returnValue As Boolean
returnValue = instance.TryGetCachedValue(password,
engineId, cachedValue)
public:
bool TryGetCachedValue(
array<unsigned char>^ password,
array<unsigned char>^ engineId,
[OutAttribute] array<unsigned char>^% cachedValue
)
member TryGetCachedValue :
password : byte[] *
engineId : byte[] *
cachedValue : byte[] byref -> bool
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
BooleanTrue if value exists in cache for specified password/engine id combination, false otherwise
See Also