diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-11-25 23:40:31 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-11-25 23:40:31 +0100 |
| commit | 8c8a71692e2f42e30f95e9ff38cc5442a0d56978 (patch) | |
| tree | 0ad3a0c4ea78de83d142c8446ee3d15345408fe9 /Emby.Server.Implementations/Updates | |
| parent | 9534f55eb077249b102e56cc0bc64e95b704cf85 (diff) | |
Remove Hex class as the BCL has one now
Diffstat (limited to 'Emby.Server.Implementations/Updates')
| -rw-r--r-- | Emby.Server.Implementations/Updates/InstallationManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs index f2c096b8a..ef346dd5d 100644 --- a/Emby.Server.Implementations/Updates/InstallationManager.cs +++ b/Emby.Server.Implementations/Updates/InstallationManager.cs @@ -414,7 +414,7 @@ namespace Emby.Server.Implementations.Updates using var md5 = MD5.Create(); cancellationToken.ThrowIfCancellationRequested(); - var hash = Hex.Encode(md5.ComputeHash(stream)); + var hash = Convert.ToHexString(md5.ComputeHash(stream)); if (!string.Equals(package.Checksum, hash, StringComparison.OrdinalIgnoreCase)) { _logger.LogError( |
