Class
ResourceFileDataModel

Model containing resource file data and metadata for download operations.

Definition

Namespace:Telerik.WebReportDesigner.Services.Models

Assembly:Telerik.WebReportDesigner.Services.dll

Syntax:

cs-api-definition
public class ResourceFileDataModel

Inheritance: objectResourceFileDataModel

Constructors

ResourceFileDataModel()

Declaration

cs-api-definition
public ResourceFileDataModel()

Properties

Data

Gets or sets the binary content of the resource file.

Declaration

cs-api-definition
public byte[] Data { get; set; }

Property Value

byte[]

Remarks

Contains the raw file data that can be written to disk or streamed to clients for download operations.

MimeType

Gets or sets the MIME type of the resource file.

Declaration

cs-api-definition
public string MimeType { get; set; }

Property Value

string

Remarks

Used for proper content-type handling when serving files through HTTP responses, where applicable.

Name

Gets or sets the name of the resource file.

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

string

Remarks

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