The next generation of the Teknik Services. Written in ASP.NET.
https://www.teknik.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
526 B
18 lines
526 B
9 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.IO;
|
||
|
using Teknik.Configuration;
|
||
|
|
||
|
namespace 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);
|
||
|
}
|
||
|
}
|