VirtualUI.DownloadFile Method (string, string, string)

Sends the specified file to the end-user's web browser for saving it in the remote machine.

C#

public void DownloadFile(string LocalFilenamestring RemoteFilenamestring MimeType);

Parameters

Parameters

Description

string LocalFilename

Name of the local file to be sent.

string RemoteFilename

Name of the file in the remote machine.

string MimeType

content-type of the file. If specified, the content will be handled by browser. Leave blank to force download.

Group

DownloadFile Method