Click or drag to resize

FileValue Constructor (String, MimeType, String)

Constructor for FileValue.

Namespace:  DotNetBrowser.Net
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.0
Syntax
C#
public FileValue(
	string fileName,
	MimeType contentType,
	string filePath
)

Parameters

fileName
Type: SystemString
The file name. Cannot be empty.
contentType
Type: DotNetBrowser.NetMimeType
A string representing the content type determined by the file extension. Equals `application/octet-stream` when there's no MIME type associated with the file extension.
filePath
Type: SystemString
The file path. Cannot be empty.
Exceptions
ExceptionCondition
ArgumentException when file name or path is null or empty.
See Also