On a given client, when accessing the X509Certificate2UI.SelectFromCollection function the application is closing without even going through the error handling.
I'm using .NET Framework 4.5, and the problem happens on a machine with Windows 10 Pro, which has about 8 valid certificates.
I tried to use [SecurityCritical] attribute.
If use flag X509SelectionFlag.MultiSelection then works, but the application needs just one. Using X509SelectionFlag.SingleSelection doesn't work, and the application terminates.
https://github.com/dotnet/dotnet-api-docs/issues/1327
On a given client, when accessing the X509Certificate2UI.SelectFromCollection function the application is closing without even going through the error handling.
I'm using .NET Framework 4.5, and the problem happens on a machine with Windows 10 Pro, which has about 8 valid certificates.
I tried to use [SecurityCritical] attribute.
If use flag X509SelectionFlag.MultiSelection then works, but the application needs just one. Using X509SelectionFlag.SingleSelection doesn't work, and the application terminates.