Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 31st, 2009, 10:45 AM
Registered User
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error During Deserializing Decripted File.

Hi,

I am addding say 10 String Values in a list and am serializing it and Saving in a file and then I encrypt the File and Zip it and send it thro mail .

In the Other End I download the attachment , Unzip it , Decrypt the File and When I am Trying to Deserialize it . I am getting the Error . I am able to Deserialize the File .


" I compared the both the serialized ie., Before Encryption and After Encryption . there is a change in teh First Line"

I tried Using both Unicode encoding and UTF8 encoding . Both resulte the same error.


Could Someone help me Sort out this error. and Can we encrypt the serialized data.


Regards,
Prashanth.
 
Old April 3rd, 2009, 10:31 AM
Authorized User
 
Join Date: Nov 2006
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
Default

How are you encrypting the file after you serialize (save) it?

Wouldn't it be better to encrypt the data then save it to a file, zip the file and email it.

On the other end you would unzip the file, open it, read the data and then decrpyt the data.
__________________
What you don\'t know can hurt you!





Similar Threads
Thread Thread Starter Forum Replies Last Post
error when uploading file cluce BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 7 February 16th, 2008 01:28 PM
XSD.EXE Gen’d C# Deserializing w/ .xsd Subst Group greenstone XML 0 November 9th, 2007 09:27 PM
This file is not well-formed error crmpicco XML 1 April 25th, 2005 11:21 AM
Error loading file bmains VS.NET 2002/2003 1 September 2nd, 2004 12:52 PM
help help! meta file error! yokel BOOK: ASP.NET Website Programming Problem-Design-Solution 1 July 6th, 2004 12:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.