79680502

Date: 2025-06-26 12:37:47
Score: 2
Natty:
Report link

//C# Solução *.csproj - .NETFramework,Version=v4.8 -

namespace XXXXXXXXX
{
    partial class XXXXXXXXX : ServiceBase
    {
        private readonly ...;

        public XXXXXXXXX()
        {
            InitializeComponent();
            AppContext.SetSwitch("Switch.System.Security.Cryptography.Xml.UseInsecureHashAlgorithms", true);
            AppContext.SetSwitch("Switch.System.Security.Cryptography.Pkcs.UseInsecureHashAlgorithms", true);
            AppDomain.CurrentDomain.UnhandledException += OnError;
    }
    ...
    ...
    }
}
Reasons:
  • Blacklisted phrase (2): Solução
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JP Guerreiro