C# Class LayersCMS.Util.FileSystem.SecureDiskFileStore

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

Méthodes publiques

Méthode Description
RetrieveFile ( string filename ) : Stream
SaveFile ( Stream fileStream, string originalFilename ) : string
SecureDiskFileStore ( ) : System

Private Methods

Méthode Description
GetUniqueFilePath ( string filename ) : string
SaveToDisk ( Stream stream, string filePath ) : void

Method Details

RetrieveFile() public méthode

public RetrieveFile ( string filename ) : Stream
filename string
Résultat Stream

SaveFile() public méthode

public SaveFile ( Stream fileStream, string originalFilename ) : string
fileStream Stream
originalFilename string
Résultat string

SecureDiskFileStore() public méthode

public SecureDiskFileStore ( ) : System
Résultat System