mirror of
https://github.com/SabreTools/NDecrypt.git
synced 2026-04-26 08:09:31 +00:00
22 lines
841 B
C#
22 lines
841 B
C#
namespace NDecrypt.Core
|
|
{
|
|
public interface ITool
|
|
{
|
|
/// <summary>
|
|
/// Attempts to encrypt an input file
|
|
/// </summary>
|
|
/// <param name="filename">Name of the file to encrypt</param>
|
|
/// <param name="force">Indicates if the operation should be forced</param>
|
|
/// <returns>True if the file could be encrypted, false otherwise</returns>
|
|
bool EncryptFile(string filename, bool force);
|
|
|
|
/// <summary>
|
|
/// Attempts to decrypt an input file
|
|
/// </summary>
|
|
/// <param name="filename">Name of the file to decrypt</param>
|
|
/// <param name="force">Indicates if the operation should be forced</param>
|
|
/// <returns>True if the file could be decrypted, false otherwise</returns>
|
|
bool DecryptFile(string filename, bool force);
|
|
}
|
|
}
|