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.

IStorageService.cs 526B

1234567891011121314151617
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using Teknik.Configuration;
  5. namespace StorageService
  6. {
  7. public interface IStorageService
  8. {
  9. public string GetUniqueFileName();
  10. public Stream GetFile(string fileName);
  11. public List<string> GetFileNames();
  12. public void SaveFile(string fileName, Stream file);
  13. public void SaveEncryptedFile(string fileName, Stream file, int chunkSize, byte[] key, byte[] iv);
  14. public void DeleteFile(string fileName);
  15. }
  16. }