Exemplo n.º 1
0
        /// <summary>
        ///     Get file steam of the given product file
        /// </summary>
        /// <param name="f"><see cref="ProductFile" /> instance</param>
        /// <param name="path">Path of the file</param>
        /// <returns>Returns Filesteam of the given product</returns>
        public static FileStream GetPhysicalFile(ProductFile f, string path)
        {
            var diskFileName = f.Bvin + "_" + f.FileName + ".config";

            return(DiskStorage.FileVaultGetStream(f.StoreId, diskFileName));
        }