一款简单易用的基础网络通讯组件库。

FileResourceInfo(String, Int32) 构造函数

初始化一个本地资源

Definition

命名空间: TouchSocket.Dmtp.FileTransfer
程序集: TouchSocket.Dmtp (在 TouchSocket.Dmtp.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
C#
public FileResourceInfo(
	string filePath,
	int fileSectionSize
)

参数

filePath  String
文件路径
fileSectionSize  Int32
文件分区大小

异常

FileNotFoundException当指定路径的文件不存在时,抛出此异常

参见