diff --git a/samples/snippets/csharp/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/cs/program.cs b/samples/snippets/csharp/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/cs/program.cs index 0c8c45abcb2..b4b22821638 100644 --- a/samples/snippets/csharp/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/cs/program.cs +++ b/samples/snippets/csharp/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/cs/program.cs @@ -80,7 +80,7 @@ static void Main(string[] args) } } } -//This sample produces the following output: +//This sample produces the following output when run on .NET Framework: //AesManaged // Legal min key size = 128 // Legal max key size = 256 @@ -106,4 +106,31 @@ static void Main(string[] args) // Legal max key size = 192 // Legal min block size = 64 // Legal max block size = 64 +// +//This sample produces the following output when run on .NET Core: +//AesManaged +// Legal min key size = 128 +// Legal max key size = 256 +// Legal min block size = 128 +// Legal max block size = 128 +//DESCryptoServiceProvider +// Legal min key size = 64 +// Legal max key size = 64 +// Legal min block size = 64 +// Legal max block size = 64 +//RC2CryptoServiceProvider +// Legal min key size = 40 +// Legal max key size = 128 +// Legal min block size = 64 +// Legal max block size = 64 +//RijndaelManaged +// Legal min key size = 128 +// Legal max key size = 256 +// Legal min block size = 128 +// Legal max block size = 128 +//TripleDESCryptoServiceProvider +// Legal min key size = 128 +// Legal max key size = 192 +// Legal min block size = 64 +// Legal max block size = 64 // diff --git a/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb b/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb index 4f2086571bb..0ad8012e4c0 100644 --- a/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb +++ b/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb @@ -82,7 +82,7 @@ Class Program End Sub End Class -'This sample produces the following output: +'This sample produces the following output when run on .NET Framework: 'AesManaged ' Legal min key size = 128 ' Legal max key size = 256 @@ -108,4 +108,31 @@ End Class ' Legal max key size = 192 ' Legal min block size = 64 ' Legal max block size = 64 +' +'This sample produces the following output when run on .NET Core: +'AesManaged +' Legal min key size = 128 +' Legal max key size = 256 +' Legal min block size = 128 +' Legal max block size = 128 +'DESCryptoServiceProvider +' Legal min key size = 64 +' Legal max key size = 64 +' Legal min block size = 64 +' Legal max block size = 64 +'RC2CryptoServiceProvider +' Legal min key size = 40 +' Legal max key size = 128 +' Legal min block size = 64 +' Legal max block size = 64 +'RijndaelManaged +' Legal min key size = 128 +' Legal max key size = 256 +' Legal min block size = 128 +' Legal max block size = 128 +'TripleDESCryptoServiceProvider +' Legal min key size = 128 +' Legal max key size = 192 +' Legal min block size = 64 +' Legal max block size = 64 ' \ No newline at end of file