JHResponse.WriteFile Method (String)

DCSoft.DBUtilityGeneric

JHResponseWriteFile Method (String)
[支持断点续传] 以文件流的形式输出文件(弹出文件打开、保存框),并结束页面输出,异常将直接抛出

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

Parameters

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