FileValue Class | 
Namespace: DotNetBrowser.Net
public sealed class FileValue : IFileValue
The FileValue type exposes the following members.
| Name | Description | |
|---|---|---|
| FileValue(String, MimeType, Byte) | 
                Constructor for FileValue.
              | |
| FileValue(String, MimeType, String) | 
                Constructor for FileValue.
              | 
| 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.
              | 
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object.  (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function.   (Inherited from Object.) | |
| GetType | Gets the Type of the current instance.  (Inherited from Object.) | |
| ToString | Returns a string that represents the current object.  (Inherited from Object.) | 
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.