JHResponse.WriteBinary Method (String)

DCSoft.DBUtilityGeneric

JHResponseWriteBinary Method (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(
	string path
)

Parameters

path
Type: SystemString
文件的相对路径或绝对路径
See Also