mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
18 lines
533 B
C#
18 lines
533 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using Teknik.Configuration;
|
|
|
|
namespace Teknik.StorageService
|
|
{
|
|
public interface IStorageService
|
|
{
|
|
public string GetUniqueFileName();
|
|
public Stream GetFile(string fileName);
|
|
public List<string> GetFileNames();
|
|
public void SaveFile(string fileName, Stream file);
|
|
public void SaveEncryptedFile(string fileName, Stream file, int chunkSize, byte[] key, byte[] iv);
|
|
public void DeleteFile(string fileName);
|
|
}
|
|
}
|