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
binarybyte[]The binary of the file
fileNamestringThe file name
mimeTypestringThe 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
binarybyte[]The chuck binary
fileNamestringThe full name
mimeTypestringThe MimeType of the file
chuckPartlongThe chuckPart
totalPartlongThe 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é
FileName
The file Name of the file
public string FileName { get; set; }
Valeur de la propriété
MimeType
The MimeType of the file
public string MimeType { get; set; }
Valeur de la propriété
TotalPart
Represent to total number of chunck that file contains
public long TotalPart { get; set; }