How to serialize an Object of type System.Net.Mime.ContentType?
- by Emanuel
I want to parse a text message and store in into an object of type System.Net.Mime.Attachment. The problem comes when I want to serialize this object.
Error: Type "System.Net.Mime.ContentType" is not marked as serializable.
How can I avoid this?
Thanks.