C# Class Synology.Utilities.FileFormDataParameter

A FormParameter specifying a file to be send as parameter of a post request
Inheritance: FormParameter
Exibir arquivo Open project: DotNetDevs/Synology

Public Methods

Method Description
FileFormDataParameter ( string parameterName, string parameterValue, byte fileData, int minVersion = 1 )

Constructs a FileFormDataParameter

Method Details

FileFormDataParameter() public method

Constructs a FileFormDataParameter
public FileFormDataParameter ( string parameterName, string parameterValue, byte fileData, int minVersion = 1 )
parameterName string Name of the parameter
parameterValue string Name of the file
fileData byte Byte array containing the data of the file
minVersion int The minimum version for this parameter