Share via


FormFile(Stream, Int64, Int64, String, String) Constructor

Definition

Initializes a new instance of FormFile.

public FormFile (System.IO.Stream baseStream, long baseStreamOffset, long length, string name, string fileName);

Parameters

baseStream
Stream

The Stream containing the form file.

baseStreamOffset
Int64

The offset at which the form file begins.

length
Int64

The length of the form file.

name
String

The name of the form file from the Content-Disposition header.

fileName
String

The file name from the Content-Disposition header.

Applies to