Encoding

FileSpecification.Encoding property

获取或设置编码格式。 可能的值:Zip - 使用 ZIP 压缩文件, None - 不压缩文件。

public FileEncoding Encoding { get; set; }

也可以看看