ANN: OpenNETCF SDF v 1.1 Release

  • Thread starter Thread starter Chris Tacke, eMVP
  • Start date Start date
I get a "500 Internal server error" when I try to download the binaries.
Does anyone else get that?

Razvan
 
Not as of yet. The list is very large. You could look at the changelogs to
get a feel for it.
 
That should be fixed now... I just tried it and it's now downloading
correctly.

Peter
 
Chris Tacke, eMVP ha scritto:
The long-anticipated SDF 1.1 has been released!

Get it here:
www.OpenNETCF.org/SDF

I downloaded the source version.

Two question:
1) You confirm that now all the classes are compiled into OpenNETCF.dll?
2) Where are the RFUtils? :)

Thanks!
 
Zanna ha scritto:
Two question:
1) You confirm that now all the classes are compiled into OpenNETCF.dll?
2) Where are the RFUtils? :)

Ok, as if I sayd nothing :)
I found out the OpenNETCF.Net.dll

Thanks
 
Hi,


I am using the OpenNETCF's cryptography namespace but got stuck, please help
me if you can spare some time.

How can I use the OpenNETCF.Security.Cryptography namespace? There is no
sample available for the classes in this namespace.

I am using the RSACryptoServiceProvider class to encrypt/decrypt my data I
get the keys using this code:

RSACryptoServiceProvider rsa = new

RSACryptoServiceProvider(KeySpec.KEYEXCHANGE, true);

txtPublicKey.Text = rsa.ToXmlString(false);

txtPrivateKey.Text = rsa.ToXmlString(true);



When it comes to encrypt, I write the following code:

string str = txtTextToEncrypt.Text;

RSACryptoServiceProvider rsa1 = new RSACryptoServiceProvider();

// ---Load the public key---

rsa1.FromXmlString(txtPublicKey.Text);

byte[] encryptedStrAsBytes =

rsa1.EncryptValue(Encoding.Unicode.GetBytes(str));

string encryptedStrAsString = Encoding.Unicode.GetString(

encryptedStrAsBytes, 0, encryptedStrAsBytes.Length);

txtEncrypted.Text = encryptedStrAsString;


But there is always an exception raised when calling the encrypt saying
'NTE_BAD_KEY'



I am using the similar code at desktop using .Net's standard APIs without
any problem. Can someone identify the problem? or may point to some sample?



Waiting for the quick reply.


Regards,

Faraz Rasheed

(e-mail address removed)

Software Engineer

yEvolve Pvt. Ltd.

http://www.yevolve.com
 
Back
Top