Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions xml/System.Security.Cryptography/RSACryptoServiceProvider.xml
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@
## Examples
The following code example encrypts and decrypts data.

This example uses the <xref:System.Text.ASCIIEncoding> class; however, the <xref:System.Text.UnicodeEncoding> class may be preferable in large data operations. The encrypted value can be saved as an `nvarchar` data type in Microsoft SQL Server 2005.
This example uses the <xref:System.Text.ASCIIEncoding> class; however, the <xref:System.Text.UnicodeEncoding> class may be preferable in large data operations. The encrypted value can be saved as an `nvarchar` data type in Microsoft SQL Server.

[!code-cpp[Cryptography.RSACSP.Decrypt#1](~/samples/snippets/cpp/VS_Snippets_CLR/Cryptography.RSACSP.Decrypt/CPP/example.cpp#1)]
[!code-csharp[Cryptography.RSACSP.Decrypt#1](~/samples/snippets/csharp/VS_Snippets_CLR/Cryptography.RSACSP.Decrypt/CS/example.cs#1)]
Expand Down Expand Up @@ -1296,9 +1296,16 @@
<ReturnType>System.Security.Cryptography.KeySizes[]</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>Gets the key sizes that are supported by the asymmetric algorithm.</summary>
<value>An array that contains the key sizes supported by the asymmetric algorithm.</value>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks
The supported RSA key sizes depend on the available cryptographic service provider. For more information, see <xref:System.Security.Cryptography.RSACryptoServiceProvider#remarks> remarks.

]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="PersistKeyInCsp">
Expand Down