New: Build on Net6

This commit is contained in:
Qstick
2021-11-17 21:59:15 -06:00
parent c263c6f365
commit cb7cbb74e0
43 changed files with 139 additions and 138 deletions
+2 -1
View File
@@ -242,7 +242,8 @@ namespace NzbDrone.Core.Parser
{
var chars = "abcdefghijklmnopqrstuvwxyz0123456789";
var randBytes = new byte[length];
using (var rngCsp = new RNGCryptoServiceProvider())
using (var rngCsp = RandomNumberGenerator.Create())
{
rngCsp.GetBytes(randBytes);
var key = "";