C# Class DeploymentDownloader.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, ADLResource resource ) : bool
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, ADLResource resource ) : bool
filename string
resource ADLResource
Résultat bool

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