Table of Contents

Interface IFileValue

Namespace
DotNetBrowser.Net
Assembly
DotNetBrowser.dll

File data.

public interface IFileValue

Remarks

Depending on how the request was constructed can contain the path to a file, or the bytes representing a file.

For example, it contains the path when the value is taken from an <input type="file"> element of the submitted form.

May contain bytes in case the request in the multipart/form-data format was constructed manually in a JavaScript code.

Properties

Bytes

The file value as an array of bytes.

ContentType

The content type determined by the file extension. Equals application/octet-stream when there is no MIME type associated with the file extension.

FileName

The file name.

FilePath

The file value as a file path.