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
MetadataResponse(string?, uint, uint?, uint?, string[])
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
Properties
Filename
public string? Filename { get; init; }
Property Value
MaxSupportedChunkSize
public uint? MaxSupportedChunkSize { get; init; }
Property Value
- uint?
Size
[JsonRequired]
public uint Size { get; init; }
Property Value
SupportedHashFunctions
[JsonRequired]
public string[] SupportedHashFunctions { get; init; }
Property Value
- string[]
Ttl
public uint? Ttl { get; init; }
Property Value
- uint?