dotnet / dotnet/dotnet-api-docs
Slight bug
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
I needed to change the code to create the "X509Certificate2" using this line:
X509Certificate2 x509 = new X509Certificate2(rawData, "MyPassword");
Without this change, I was getting a strange error of:
"X509Certificate is immutable on this platform. Use the equivalent constructor instead."
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 39c52447-5d36-9cdd-58f5-3162bb335380
* Version Independent ID: 758625a0-cd08-c636-dd51-ccbe764b62f1
* Content: [X509Certificate2.Thumbprint Property (System.Security.Cryptography.X509Certificates)](https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.x509certificate2.thumbprint?view=netframework-4.7.2)
* Content Source: [xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Contributor guide
Assessment
This issue has not been assessed yet.