Skip to content

DownloadedFile

Namespace: E2E.Decision.Sdk

public sealed record DownloadedFile : IEquatable<DownloadedFile>

A file a DownloadFunction downloaded.

Inheritance: object

Implements: IEquatable<DownloadedFile>

View source

public DownloadedFile(byte[] Data, string? MediaType)

A file a DownloadFunction downloaded.

Parameters

Name Type Description
Data byte[] The bytes of the file.
MediaType string The media type of the file, when the server named one.

public byte[] Data { get; init; }

The bytes of the file.

Value: byte[]

public string? MediaType { get; init; }

The media type of the file, when the server named one.

Value: string