Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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.


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.

  #2 (permalink)  
Old April 3rd, 2009, 10:31 AM
Authorized User
Join Date: Nov 2006
Location: Valparaiso, IN, USA.
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post

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!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 02:07 PM.

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