Needed Help urgently.. pls...

Angelan

New member
Joined
Feb 23, 2005
Messages
4
Programming Experience
Beginner
Hi everyone..
may i know if anyone knows the solution to the problem that I encountered?

I encountered a problem and the error message was shown like this:
<
An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll
Additional information: The type Crytography.DEnCryption+EncryptedObject in Assembly Crytography, Version=1.0.1880.36380, Culture=neutral, PublicKeyToken=null is not marked as serializable.
>

the part that shown in error is <Server.SendMessage(_Alias, emailAddress, Package)>

my coding is complied like this:
Dim Message As New TalkComponent.Message(Me.Alias, messageBody)

Dim Package As New DEnCryption.EncryptedObject(Me.Rsa.ToXmlString(True), messageBody)

Server.SendMessage(_Alias, emailAddress, Package)

The package is to an encrypted Object and the argument is the public key and the message to be encrypted. And the Server.SendMessage argument is the email Address of the receiver and the encrypted Object.

I really don't understand why the error just came out like that. Does anyone knows the solution.
I really need all the help I can get please...
Thks alot in advance...
 
Back
Top