dotnet-api-docs
dotnet-api-docs copied to clipboard
Use X509Certificate2 constructor instead of Import (SYSLIB0026)
Summary
Import is marked as obsolete (SYSLIB0026):
'X509Certificate.Import(byte[])' is obsolete: 'X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.'
Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones
Learn Build status updates of commit 2cae909:
:white_check_mark: Validation status: passed
File | Status | Preview URL | Details |
---|---|---|---|
snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.cs | :white_check_mark:Succeeded | View |
For more details, please refer to the build report.
For any questions, please:
- Try searching the learn.microsoft.com contributor guides
- Post your question in the Learn support channel