dotnet / dotnet/dotnet-api-docs
Fix SslStream remarks and example
Open
area-System.Net.Security
Pri3
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
https://learn.microsoft.com/en-us/dotnet/api/system.net.security.sslstream?view=net-7.0#remarks
Remarks section demonstrates APM pattern as async, but we should replace it with task-based async overload.
Also, we can consider changing the example with `Socket` version instead of `TcpClient`.
cc: @wfurt @rzikm @antonfirsov
Contributor guide
Assessment
This issue has not been assessed yet.