mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-17 07:36:37 +00:00
Merge pull request #1584 from Bond-009/checksum
Check checksum for plugin downloads
This commit is contained in:
@@ -84,6 +84,7 @@ namespace MediaBrowser.Model.Cryptography
|
||||
_hash = Array.Empty<Byte>();
|
||||
}
|
||||
|
||||
// TODO: move this class and use the HexHelper class
|
||||
public static byte[] ConvertFromByteString(string byteString)
|
||||
{
|
||||
byte[] bytes = new byte[byteString.Length / 2];
|
||||
|
||||
@@ -36,11 +36,5 @@ namespace MediaBrowser.Model.Updates
|
||||
/// </summary>
|
||||
/// <value>The update class.</value>
|
||||
public PackageVersionClass UpdateClass { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the percent complete.
|
||||
/// </summary>
|
||||
/// <value>The percent complete.</value>
|
||||
public double? PercentComplete { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user