Objects
FileShareInformation

FileShareInformation

This class is used to send information about a requested file share.

Properties

{
  "fileName": string,
  "fileCheckSum": string,
  "fileSize": long,
  "multipleFiles": bool,
}
PropertyTypeDescription
fileNamestringThe name of the file to be shared.
fileCheckSumstringThe checksum of the file to be shared.
fileSizelongThe size of the file to be shared.
multipleFilesboolA flag indicating if there are multiple files to be shared.

Example

Sending a single file

{
  "fileName": "file.txt",
  "fileCheckSum": "1234567890",
  "fileSize": 1234567890,
  "multipleFiles": false
}

Sending multiple files

{
  "fileName": "",
  "fileCheckSum": "1234567890",
  "fileSize": 1234567890,
  "multipleFiles": true
}