The IFileManager type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddFile(IFolderInfo, String, Stream) |
Adds a file to the specified folder.
| |
| AddFile(IFolderInfo, String, Stream, Boolean) |
Adds a file to the specified folder.
| |
| AddFile(IFolderInfo, String, Stream, Boolean, Boolean, String) |
Adds a file to the specified folder.
| |
| AddFile(IFolderInfo, String, Stream, Boolean, Boolean, String, Int32) |
Adds a file to the specified folder.
| |
| AddFile(IFolderInfo, String, Stream, Boolean, Boolean, Boolean, String, Int32) |
Adds a file to the specified folder.
| |
| CopyFile |
Copies the specified file into the specified folder.
| |
| DeleteFile |
Deletes the specified file.
| |
| DeleteFiles |
Deletes the specified files.
| |
| FileExists(IFolderInfo, String) |
Checks the existence of the specified file in the specified folder.
| |
| FileExists(IFolderInfo, String, Boolean) |
Checks the existence of the specified file in the specified folder.
| |
| GetContentType | Obsolete.
Gets the Content Type for the specified file extension.
| |
| GetFile(Int32) |
Gets the file metadata for the specified file.
| |
| GetFile(Int32, Boolean) |
Gets the file metadata for the specified file.
| |
| GetFile(Int32, String) |
Gets the file metadata for the specified file.
| |
| GetFile(IFolderInfo, String) |
Gets the file metadata for the specified file.
| |
| GetFile(Int32, String, Boolean) |
Gets the file metadata for the specified file.
| |
| GetFile(IFolderInfo, String, Boolean) |
Gets the file metadata for the specified file.
| |
| GetFileContent |
Gets the content of the specified file.
| |
| GetSeekableStream |
Gets a seekable Stream based on the specified non-seekable Stream.
| |
| GetUrl |
Gets the direct Url to the file.
| |
| IsImageFile |
Gets a flag that dertermines if the file is an Image
| |
| MoveFile |
Moves the specified file into the specified folder.
| |
| RenameFile |
Renames the specified file.
| |
| SetAttributes |
Sets the specified FileAttributes of the file.
| |
| UnzipFile(IFileInfo) |
Extracts the files and folders contained in the specified zip file to the folder where the file belongs.
| |
| UnzipFile(IFileInfo, IFolderInfo) |
Extracts the files and folders contained in the specified zip file to the specified folder.
| |
| UnzipFile(IFileInfo, IFolderInfo, IList<(Of <<'(String>)>>)) |
Extracts the files and folders contained in the specified zip file to the specified folder.
| |
| UpdateFile(IFileInfo) |
Updates the metadata of the specified file.
| |
| UpdateFile(IFileInfo, Stream) |
Regenerates the hash and updates the metadata of the specified file.
| |
| WriteFile |
Writes the content of the specified file into the specified stream.
| |
| WriteFileToResponse |
Downloads the specified file.
|
Properties
| Name | Description | |
|---|---|---|
| ContentTypes | Obsolete.
Gets the system defined content types
|