Table of Contents

Class FileArgs

Namespace
SecureExchangesSDK.Models
Assembly
SecureExchangesSDK.NetCore.dll

FileArgs are the defenition of a local file. The binary are loaded it's esesntially represent a chuck of a file

public class FileArgs
Inheritance
FileArgs
Inherited Members
Extension Methods

Constructors

FileArgs(byte[], string, string)

Initialize the FileArgs with the binary, filename, and mimeType. Use it if you only need one part in your file

public FileArgs(byte[] binary, string fileName, string mimeType)

Parameters

binary byte[]

The binary of the file

fileName string

The file name

mimeType string

The MimeType of the file

FileArgs(byte[], string, string, long, long)

Inintialize the FileArgs with the binary. Use it if your files contains multiple part.

public FileArgs(byte[] binary, string fileName, string mimeType, long chuckPart, long totalPart)

Parameters

binary byte[]

The chuck binary

fileName string

The full name

mimeType string

The MimeType of the file

chuckPart long

The chuckPart

totalPart long

The totalPart

Properties

Binary

The binary of the file

public byte[] Binary { get; set; }

Property Value

byte[]

ChunckPart

Represent the chunck part of the main file

public long ChunckPart { get; set; }

Property Value

long

FileName

The file Name of the file

public string FileName { get; set; }

Property Value

string

MimeType

The MimeType of the file

public string MimeType { get; set; }

Property Value

string

TotalPart

Represent to total number of chunck that file contains

public long TotalPart { get; set; }

Property Value

long