Click or drag to resize

IFileValue Interface

File data.

Namespace:  DotNetBrowser.Net
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.20.0
Syntax
C#
public interface IFileValue

The IFileValue type exposes the following members.

Properties
  NameDescription
Public propertyBytes
The file value as an array of bytes.
Public propertyContentType
The content type determined by the file extension. Equals application/octet-stream when there is no MIME type associated with the file extension.
Public propertyFileName
The file name.
Public propertyFilePath
The file value as a file path.
Top
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.

See Also