Skip to content

Instantly share code, notes, and snippets.

@parth7676
Created September 18, 2016 07:36
Show Gist options
  • Save parth7676/dea898487144aa3130c542d8cfc8c952 to your computer and use it in GitHub Desktop.
Save parth7676/dea898487144aa3130c542d8cfc8c952 to your computer and use it in GitHub Desktop.
public interface IFileUtility
{
/// <summary>
/// Use to save file in device specific folders
/// </summary>
/// <param name="fileName"></param>
/// <param name="fileStream"></param>
/// <returns></returns>
string SaveFile(string fileName,byte[] fileStream);
/// <summary>
/// Used to delete the existing file directory, before syncing the file again.
/// </summary>
void DeleteDirectory();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment