Saltar al contenido principal

ChecksumFailedException class

Namespace: Velopack.Exceptions

Represents an error that occurs when a package does not match it's expected SHA checksum

[ExcludeFromCodeCoverage]
public class ChecksumFailedException : Exception, ISerializable

Inherits: Exception
Implements: ISerializable

Constructors

ConstructorSummary
ChecksumFailedExceptionRepresents an error that occurs when a package does not match it's expected SHA checksum
ChecksumFailedExceptionRepresents an error that occurs when a package does not match it's expected SHA checksum

ChecksumFailedException(filePath)

public ChecksumFailedException(string filePath)

Represents an error that occurs when a package does not match it's expected SHA checksum

Parameters

NameTypeDescription
filePathstring

ChecksumFailedException(filePath, message)

public ChecksumFailedException(string filePath, string message)

Represents an error that occurs when a package does not match it's expected SHA checksum

Parameters

NameTypeDescription
filePathstring
messagestring

Properties

PropertySummary
FilePathThe filename of the package which failed validation

FilePath

public string FilePath { get; }

The filename of the package which failed validation


Generated from Velopack 1.1.1