Model containing resource file data and metadata for download operations.
Definition
Namespace:Telerik.WebReportDesigner.Services.Models
Assembly:Telerik.WebReportDesigner.Services.dll
Syntax:
C#
public class ResourceFileDataModel
Inheritance: objectResourceFileDataModel
Constructors
C#
public ResourceFileDataModel()
Properties
Data
byte[]
Gets or sets the binary content of the resource file.
C#
public byte[] Data { get; set; }
Remarks:
Contains the raw file data that can be written to disk or streamed to clients for download operations.
MimeType
string
Gets or sets the MIME type of the resource file.
C#
public string MimeType { get; set; }
Remarks:
Used for proper content-type handling when serving files through HTTP responses, where applicable.
Name
string
Gets or sets the name of the resource file.
C#
public string Name { get; set; }
Remarks:
Provides the filename including extension for proper file identification and download naming.