PDA

View Full Version : Dot Net Version Issue


toxis
10-02-2009, 10:43 PM
hello guys,

i am trying some things with signatures and encryption... for this i want to create an object of the class

"System.Security.Cryptography.ECDsaCng"

so with a line

ECdsa = dotnetobject "System.Security.Cryptography.ECDsaCng"

i should recive the object...

but i always get " Runtime error: Cannot resolve type: System.Security.Cryptography.ECDsaCng"

so i think this could be because its not available in older versions than dot net 3.5...
i downloaded and installed 3.5 but still doesnt work. im working with xp 64, max 2009 64 bit. I have still installed older versions of dot net - so is there a way specifying some version to load or something??

thanks in advance,
stefan

toxis
10-03-2009, 12:25 AM
and i have another question...

sometimes it is required in a constructor of an object to supply an enumeration as does the cryptostream class

dotnetobject "className" Stream stream, ICryptoTransform transform, CryptoStreamMode mode

but how would i acess the last parameter cryptostream mode?

i tried to do this through writer=dotnetclass "System.Security.Cryptography.CryptoStreamMode"

and acess the write property through writer.write

but i am nearly sure that this produces the error i am currently fighting with

CGTalk Moderation
10-03-2009, 12:25 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.