Show / Hide Table of Contents

    Interface IDownloadFileInformation

    Inherited Members
    IFileTransferInformation.GetPercentage()
    IFileTransferInformation.IsExpired()
    IFileTransferInformation.ChunkIndicatorsTrue()
    IFileTransferInformation.CleanUp()
    IFileTransferInformation.Delete()
    IFileTransferInformation.IsCompleted
    IFileTransferInformation.DfsHash
    IFileTransferInformation.MaxChunk
    IFileTransferInformation.CorrelationId
    IFileTransferInformation.TempPath
    IFileTransferInformation.FileOutputPath
    IFileTransferInformation.RecipientChannel
    IFileTransferInformation.RecipientId
    IFileTransferInformation.PeerId
    IFileTransferInformation.CancellationToken
    IFileTransferInformation.Initialised
    IFileTransferInformation.UpdateChunkIndicator(UInt32, Boolean)
    IFileTransferInformation.Expire()
    System.IDisposable.Dispose()
    Namespace: Catalyst.Abstractions.FileTransfer
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IDownloadFileInformation : IFileTransferInformation, IDisposable

    Methods

    | Improve this Doc View Source

    SetLength(UInt64)

    Sets file the length.

    Declaration
    void SetLength(ulong fileSize)
    Parameters
    Type Name Description
    System.UInt64 fileSize

    Size of the file.

    | Improve this Doc View Source

    WriteToStream(UInt32, Byte[])

    Writes to stream.

    Declaration
    void WriteToStream(uint chunk, byte[] fileBytes)
    Parameters
    Type Name Description
    System.UInt32 chunk

    The chunk.

    System.Byte[] fileBytes

    The file bytes.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network