The IFileManager type exposes the following members.

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 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.
Public methodGetContentType Obsolete.
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 methodGetSeekableStream
Gets a seekable Stream based on the specified non-seekable Stream.
Public methodGetUrl
Gets the direct Url to the file.
Public methodIsImageFile
Gets a flag that dertermines if the file is an Image
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 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.

See Also