Skip to content

Commit c34cb7c

Browse files
MSDN-WhiteKnightThraka
authored andcommitted
Update RSACryptoServiceProvider.xml (#3439)
* Update RSACryptoServiceProvider.xml - Remove irrelevant mention of SQL Server 2005 (nvarchar is supported in every modern version) - Add missing details for LegalKeySizes * minor formatting
1 parent fc26f9c commit c34cb7c

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

xml/System.Security.Cryptography/RSACryptoServiceProvider.xml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@
469469
## Examples
470470
The following code example encrypts and decrypts data.
471471
472-
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.
472+
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.
473473
474474
[!code-cpp[Cryptography.RSACSP.Decrypt#1](~/samples/snippets/cpp/VS_Snippets_CLR/Cryptography.RSACSP.Decrypt/CPP/example.cpp#1)]
475475
[!code-csharp[Cryptography.RSACSP.Decrypt#1](~/samples/snippets/csharp/VS_Snippets_CLR/Cryptography.RSACSP.Decrypt/CS/example.cs#1)]
@@ -1296,9 +1296,17 @@
12961296
<ReturnType>System.Security.Cryptography.KeySizes[]</ReturnType>
12971297
</ReturnValue>
12981298
<Docs>
1299-
<summary>To be added.</summary>
1300-
<value>To be added.</value>
1301-
<remarks>To be added.</remarks>
1299+
<summary>Gets the key sizes that are supported by the asymmetric algorithm.</summary>
1300+
<value>An array that contains the key sizes supported by the asymmetric algorithm.</value>
1301+
<remarks>
1302+
<format type="text/markdown"><![CDATA[
1303+
1304+
## Remarks
1305+
1306+
The supported RSA key sizes depend on the available cryptographic service provider. For more information, see <xref:System.Security.Cryptography.RSACryptoServiceProvider#remarks> remarks.
1307+
1308+
]]></format>
1309+
</remarks>
13021310
</Docs>
13031311
</Member>
13041312
<Member MemberName="PersistKeyInCsp">

0 commit comments

Comments
 (0)