ProGet SDK Reference
Version:

DockerDigest(string algorithm, byte[] hash) Constructor

Initializes a new instance of the DockerDigest class.

Syntax

public .ctor(string algorithm, byte[] hash)

Parameters

algorithm
Type: string

The hash algorithm; typically this is sha256.

hash
Type: byte[]

The hash value.

Exceptions

System.ArgumentNullException

algorithm is null (Nothing in Visual Basic) or empty or hash is null (Nothing in Visual Basic).