The FileManager type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| FileManager | DotNetNuke.Services.FileSystem.FileManager |
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.
| |
| Equals | (Inherited from Object.) | |
| 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.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetContentType |
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.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetSeekableStream |
Gets a seekable Stream based on the specified non-seekable Stream.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUrl |
Gets the direct Url to the file.
| |
| IsImageFile |
Gets a flag that dertermines if the file is an Image
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MoveFile |
Moves the specified file into the specified folder.
| |
| RenameFile |
Renames the specified file.
| |
| SetAttributes |
Sets the specified FileAttributes of the file.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| 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.
|
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
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
| Name | Description | |
|---|---|---|
| ContentTypes |