Retrieves a string value from the vault.
public string GetString(string sName)
GetString returns a string 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");
String retrievedstring = vault.GetString("testString");
}
catch (DataVaultException e)
{
Console.WriteLine("Exception: " + e.ToString());
}
finally
{
vault.Lock();
}