[Mono-list] Problem with System.Cryptography.RSAParameters...
Giuseppe Greco
giuseppe.greco@agamura.com
Fri, 05 Sep 2003 22:15:46 +0200
Hi all,
does anybody know why the following code does not compile?
using System.Cryptography;
RSACryptoServiceProvider RSA = new RSACryptoServiceProvider();
...
RSAParameters params = RSA.ExportParameters(false); // does not compile
...
The compiler always complies like this:
syntax error, expecting OPEN_BRACKET OPEN_PARENS DOT COLON ASSIGN STAR
OP_INC OP_DEC OP_MULT_ASSIGN OP_DIV_ASSIGN OP_MOD_ASSIGN OP_ADD_ASSIGN
OP_SUB_ASSIGN OP_SHIFT_LEFT_ASSIGN OP_SHIFT_RIGHT_ASSIGN OP_AND_ASSIGN
OP_XOR_ASSIGN OP_OR_ASSIGN OP_PTR IDENTIFIER
gekkota/src/Gekkota.Security/Gekkota.Security.Cryptography/AsymmetricCryptor.cs(405) error CS1002: Expecting `;'
The code above does compile with csc on Windows.
Thanks,
Gius_.
--
----------------------------------------
Giuseppe Greco
::agamura::
phone: +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email: giuseppe.greco@agamura.com
web: www.agamura.com
----------------------------------------