C# Class DeploymentStager.FileVerification

Afficher le fichier Open project: ALandFarAway/ALFA-Base-Resources Class Usage Examples

Méthodes publiques

Méthode Description
GetSHA1Hash ( string filename ) : string
VerifyFile ( string filename, DependencyResource resource ) : bool
VerifyFile ( string filename, string sha1Hash, long filesize ) : bool

Method Details

GetSHA1Hash() public static méthode

public static GetSHA1Hash ( string filename ) : string
filename string
Résultat string

VerifyFile() public static méthode

public static VerifyFile ( string filename, DependencyResource resource ) : bool
filename string
resource DependencyResource
Résultat bool

VerifyFile() public static méthode

public static VerifyFile ( string filename, string sha1Hash, long filesize ) : bool
filename string
sha1Hash string
filesize long
Résultat bool