IFileValue Interface | 
Namespace: DotNetBrowser.Net
public interface IFileValue
The IFileValue type exposes the following members.
| Name | Description | |
|---|---|---|
| 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.
              | 
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.