e-CryptIt Engine Xojo Plugin

EinhugurVault.CanUse Method

Checks if Vault is usable on the current system, returning true if it is, else false.

shared CanUse(
   ByRef reason as String) as Boolean

Parameters

reason (ByRef parameter)
Returns the reason why the Vault cannot be used as ByRef parameter.

Returns

Boolean

Remarks

This method will always return true on Windows systems. On Linux systems this might return false if libsecret is not found or if SecretService is not available. On macOS the KeyChain should always be available but security settings might block access.


var outReason as String
if not EinhugurVault.CanUse(outReason) then
    MessageBox outReason
    return
end if

See Also

EinhugurVault Class