Table of Contents

Class FileTransferModels.MetadataResponse

Namespace
SmarterLink.Core.Protocol.Models
Assembly
SmarterLink.Core.dll

Sent by a sender in response to a FileTransferModels.MetadataRequest. Describes the file and the sender's capabilities.

public sealed record FileTransferModels.MetadataResponse : FileTransferModels, IEquatable<ProtocolDataPayloadBase>, IEquatable<FileTransferModels>, IEquatable<FileTransferModels.MetadataResponse>
Inheritance
FileTransferModels.MetadataResponse
Implements
Inherited Members

Constructors

Sent by a sender in response to a FileTransferModels.MetadataRequest. Describes the file and the sender's capabilities.

public MetadataResponse(string? Filename, uint Size, uint? Ttl, uint? MaxSupportedChunkSize, string[] SupportedHashFunctions)

Parameters

Filename string
Size uint
Ttl uint?
MaxSupportedChunkSize uint?
SupportedHashFunctions string[]

Properties

public string? Filename { get; init; }

Property Value

string
public uint? MaxSupportedChunkSize { get; init; }

Property Value

uint?
[JsonRequired]
public uint Size { get; init; }

Property Value

uint
[JsonRequired]
public string[] SupportedHashFunctions { get; init; }

Property Value

string[]
public uint? Ttl { get; init; }

Property Value

uint?