mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
warning fixes
This commit is contained in:
parent
eb66b63ed4
commit
89f60420cd
6 changed files with 15 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ namespace ServerManagerTool.Common.Utils
|
|||
|
||||
private static int callCount = 0;
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Security", "SCS0005:Weak random number generator.", Justification = "<Pending>")]
|
||||
public static string GeneratePassword(int count)
|
||||
{
|
||||
StringBuilder newPassword = new StringBuilder(count);
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ namespace ServerManagerTool.Common.Utils
|
|||
set;
|
||||
}
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Security", "SCS0006:Weak hashing function.", Justification = "<Pending>")]
|
||||
public static string ComputeKey(string folder)
|
||||
{
|
||||
try
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue