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

DmtpFileTransferFeatureSetMaxSmallFileLength 方法

允许传输的小文件的最大长度。默认1024*1024个字节。

注意,当调整该值时,应该和对端保持一致。

Definition

命名空间: TouchSocket.Dmtp.FileTransfer
程序集: TouchSocket.Dmtp (在 TouchSocket.Dmtp.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public DmtpFileTransferFeature SetMaxSmallFileLength(
	int maxSmallFileLength
)

参数

maxSmallFileLength  Int32

[缺少 "M:TouchSocket.Dmtp.FileTransfer.DmtpFileTransferFeature.SetMaxSmallFileLength(System.Int32)" 的 <param name="maxSmallFileLength"/> 文档]

返回值

DmtpFileTransferFeature

[缺少 "M:TouchSocket.Dmtp.FileTransfer.DmtpFileTransferFeature.SetMaxSmallFileLength(System.Int32)" 的 <returns> 文档]

参见