TemplatePackage Create Method (String, TemplatePackageManifest, IEnumerable String , String, CompressionOption)
Create a package in one step.

Namespace: HotDocs.Sdk
Assembly: HotDocs.Sdk (in HotDocs.Sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void Create(
	string packagePath,
	TemplatePackageManifest manifest,
	IEnumerable<string> filePaths,
	string rsaParamsXml,
	CompressionOption compression
)

Parameters

packagePath
Type: OnlineSystem String
The full file path were the package should be written to. Any existing file will be overwritten.
manifest
Type: HotDocs.Sdk TemplatePackageManifest
The manifest of the package. Passing null creates a package without a manifest.
filePaths
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
A complete list of all file paths to be added to the package.
rsaParamsXml
Type: OnlineSystem String
RSA key serialized to XML. It can be a public/private key pair or only a public key. If null, save an unencrypted package.
compression
Type: OnlineSystem.IO.Packaging CompressionOption
The compression level.
See Also