C# Class LayersCMS.Util.FileSystem.SecureDiskFileStore

A file store that stores files away from the website folder (for security)
Inheritance: IFileStore
Mostrar archivo Open project: stevekennaird/LayersCMS

Public Methods

Method Description
RetrieveFile ( string filename ) : Stream
SaveFile ( Stream fileStream, string originalFilename ) : string
SecureDiskFileStore ( ) : System

Private Methods

Method Description
GetUniqueFilePath ( string filename ) : string
SaveToDisk ( Stream stream, string filePath ) : void

Method Details

RetrieveFile() public method

public RetrieveFile ( string filename ) : Stream
filename string
return Stream

SaveFile() public method

public SaveFile ( Stream fileStream, string originalFilename ) : string
fileStream Stream
originalFilename string
return string

SecureDiskFileStore() public method

public SecureDiskFileStore ( ) : System
return System