You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The incorrect line of code is highlighted in the example. #23023
Create an instance of a default implementation class by using a factory method on the base algorithm class, and refer to the base algorithm class. For example, see the highlighted line of code in the following example:
However, the highlighted line is:
using FileStream myStream = new FileStream("TestData.txt", FileMode.OpenOrCreate);
Which does not refer to cryptography classes, and does not use a factory method to create an instance. Instead, I think the highlighted line should be
using Aes aes = Aes.Create();
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: fc59c0ef-fc24-730b-086a-683bb85fca7a
Version Independent ID: 93212589-e9f6-4bf8-d547-559743e3eb5e
Activity
Youssef1313 commentedon Feb 26, 2021
This broke in #21043
IEvangelist commentedon Feb 26, 2021
Hi 👋 @BasPaap
Thank you so much for posting this issue. We really appreciate it. I have a fix for this in #23025