FileElement AddFile Method (String, String)C# API
Adds a file to the list of files to upload. It will be uploaded when the Form which contains this FileElement is sent to the web server.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax

public void AddFile(
	string filename,
	string path
)

Parameters

filename
Type: System String
The name of the file.
path
Type: System String
The location of the file on disk. This can either be an absolute path, or a relative path. If it is a relative path, then it is relative to the data/Files directory for the current injector.
Remarks

The default Content-Type is "text/plain", and the default Content-Transfer-Encoding is "".
See Also