FAES/AES/MetaData.cs
/// <summary>
/// Checks the metadata to see if the file can be decrypted
/// </summary>
/// <param name="filePath">Path to file (Compatibility)</param>
/// <returns>If the file can be decrypted</returns>
Checks the metadata to see if the file can be decrypted
Checks the metadata to see if the file can be decrypted
public bool IsDecryptable(string filePath)
        {
            if (_usingCompatibilityMode)
                return new LegacyCrypt().IsDecryptable(filePath);
            else if (_dynamicMetadata.GetFaesIdentifier() == CryptUtils.GetCryptIdentifier())
                return true;
            else
                return false;
        }
public bool IsDecryptable ( string filePath ) { if ( _usingCompatibilityMode ) return new LegacyCrypt ( ) . IsDecryptable ( filePath ) ; else if ( _dynamicMetadata . GetFaesIdentifier ( ) == CryptUtils . GetCryptIdentifier ( ) ) return true ; else return false ; }
Checks the metadata to see if the file can be decrypted
Checks the metadata to see if the file can be decrypted
If the file can be decrypted
If the file can be decrypted
filePath
string
Path to file (Compatibility)
Path to file ( Compatibility )