JHResponse.WriteBinary Method (Byte[], String)

DCSoft.DBUtilityGeneric

JHResponseWriteBinary Method (Byte, String)
将文件以二进制字符串的形式写入 HTTP 输出流(弹出打开、保存框),异常直接抛出

Namespace: DCSoft.Utility.Web
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static void WriteBinary(
	byte[] buffer,
	string fileName
)

Parameters

buffer
Type: SystemByte
二进制数组
fileName
Type: SystemString
文件输出时的名称(带后缀)
See Also