FileDownloadHttpResponseMessageFactory(Stream, String, String) Constructor

Initializes a new instance of the FileDownloadHttpResponseMessageFactory class with the specified Stream, file name and content type.


Namespace: TcHmiSrv.Core.Tools.Net.Http.Factories
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public FileDownloadHttpResponseMessageFactory(
    Stream inputStream,
    string fileName,
    string contentType
)

Parameters

inputStream  Stream

A Stream that contains the data to be read.

fileName  String

The name of the file to be downloaded.

contentType  String

The content type of the file to be downloaded.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

FileDownloadHttpResponseMessageFactory Class FileDownloadHttpResponseMessageFactory Overload TcHmiSrv.Core.Tools.Net.Http.Factories Namespace

Copyright © Beckhoff Automation GmbH & Co. KG