Table of Contents

Class FileArgs

Espace de noms
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
Héritage
FileArgs
Membres hérités
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)

Paramètres

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)

Paramètres

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; }

Valeur de la propriété

byte[]

ChunckPart

Represent the chunck part of the main file

public long ChunckPart { get; set; }

Valeur de la propriété

long

FileName

The file Name of the file

public string FileName { get; set; }

Valeur de la propriété

string

MimeType

The MimeType of the file

public string MimeType { get; set; }

Valeur de la propriété

string

TotalPart

Represent to total number of chunck that file contains

public long TotalPart { get; set; }

Valeur de la propriété

long