New to Telerik Reporting? Start a free 30-day trial

Model containing resource file data and metadata for download operations.

Used when retrieving resource files from the WebReportDesigner storage system, combining the binary content with essential metadata for proper handling and display.

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; }

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; }

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; }

Provides the filename including extension for proper file identification and download naming.