共用方式為


ImageStoreUtility Class

Definition

Provides supplementary utility methods for application package deployment

public class ImageStoreUtility
type ImageStoreUtility = class
Public Class ImageStoreUtility
Inheritance
ImageStoreUtility

Constructors

ImageStoreUtility()

Fields

Sha256

ComputeHash SHA256 algorithm name

Sha256Tag

Hash string's SHA256 algorithm tag (algorithm + ':')

Methods

ArchiveApplicationPackage(String, IImageStoreProgressHandler)

Compresses all service package sub-directories (i.e. code/config/data packages) found under the application package root directory.

ComputeHash(String, String, Boolean)

Compute hash of file or directory. Directory hash uses Merkel tree to compute hash

ExpandSfpkg(String, String)

Expands the specified sfpkg file in the application package folder.

GenerateApplicationPackageChecksumFiles(String, IImageStoreProgressHandler, Boolean)

Generates checksum files for all service package sub-directories (i.e. code/config/data packages) and service manifests found under the application package root directory.

GenerateSfpkg(String, String, Boolean, String)

Creates a 'sfpkg' file from the application package found in the specified application package root directory.

HasAlgorithmTag(String)

Check if the hash string conforms new format.

TryExtractApplicationPackage(String, IImageStoreProgressHandler)

Uncompresses all service package sub-directories (i.e. code/config/data packages) found under the application package root directory.

Applies to