The FileManager type exposes the following members.

Constructors

  NameDescription
Public methodFileManager
DotNetNuke.Services.FileSystem.FileManager

Methods

  NameDescription
Public methodAddFile(IFolderInfo, String, Stream)
Adds a file to the specified folder.
Public methodAddFile(IFolderInfo, String, Stream, Boolean)
Adds a file to the specified folder.
Public methodAddFile(IFolderInfo, String, Stream, Boolean, Boolean, String)
Adds a file to the specified folder.
Public methodAddFile(IFolderInfo, String, Stream, Boolean, Boolean, String, Int32)
Adds a file to the specified folder.
Public methodAddFile(IFolderInfo, String, Stream, Boolean, Boolean, Boolean, String, Int32)
Adds a file to the specified folder.
Public methodCopyFile
Copies the specified file into the specified folder.
Public methodDeleteFile
Deletes the specified file.
Public methodDeleteFiles
Deletes the specified files.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFileExists(IFolderInfo, String)
Checks the existence of the specified file in the specified folder.
Public methodFileExists(IFolderInfo, String, Boolean)
Checks the existence of the specified file in the specified folder.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetContentType
Gets the Content Type for the specified file extension.
Public methodGetFile(Int32)
Gets the file metadata for the specified file.
Public methodGetFile(Int32, Boolean)
Gets the file metadata for the specified file.
Public methodGetFile(Int32, String)
Gets the file metadata for the specified file.
Public methodGetFile(IFolderInfo, String)
Gets the file metadata for the specified file.
Public methodGetFile(Int32, String, Boolean)
Gets the file metadata for the specified file.
Public methodGetFile(IFolderInfo, String, Boolean)
Gets the file metadata for the specified file.
Public methodGetFileContent
Gets the content of the specified file.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSeekableStream
Gets a seekable Stream based on the specified non-seekable Stream.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUrl
Gets the direct Url to the file.
Public methodIsImageFile
Gets a flag that dertermines if the file is an Image
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveFile
Moves the specified file into the specified folder.
Public methodRenameFile
Renames the specified file.
Public methodSetAttributes
Sets the specified FileAttributes of the file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnzipFile(IFileInfo)
Extracts the files and folders contained in the specified zip file to the folder where the file belongs.
Public methodUnzipFile(IFileInfo, IFolderInfo)
Extracts the files and folders contained in the specified zip file to the specified folder.
Public methodUnzipFile(IFileInfo, IFolderInfo, IList<(Of <<'(String>)>>))
Extracts the files and folders contained in the specified zip file to the specified folder.
Public methodUpdateFile(IFileInfo)
Updates the metadata of the specified file.
Public methodUpdateFile(IFileInfo, Stream)
Regenerates the hash and updates the metadata of the specified file.
Public methodWriteFile
Writes the content of the specified file into the specified stream.
Public methodWriteFileToResponse
Downloads the specified file.

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

Properties

  NameDescription
Public propertyContentTypes

See Also