Retrieves a binary object from the vault.
public byte[] GetValue(string sName)
GetValue returns a binary data value, associated with the specified name, from the vault. An exception is thrown if the vault is locked when this method is called.
try
{
vault.Unlock("password", "salt");
byte[] retrievedvalue = vault.GetValue("testValue");
}
catch (DataVaultException e)
{
Console.WriteLine("Exception: " + e.ToString());
}
finally
{
vault.Lock();
}