public byte[] Read(Guid id, string filename, out Dictionary <string, string> metaData) { metaData = null; Dictionary <string, string> storeMetaData = null; byte[] data = fileStorageHelper.GetFile(configuration.Share, configuration.Folder, GetFullFilename(id, filename), out storeMetaData); if (storeMetaData != null) { metaData = storeMetaData.ToDictionary(m => m.Key.Replace(MetaDataPrefix, ""), m => m.Value); } return(data); }
public byte[] Read(Guid id, string filename) { return(fileStorageHelper.GetFile(configuration.Share, configuration.Folder, GetFullFilename(id, filename))); }