We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

AppStateSerializer extension

Thread ID:





10561 Feb 5,2004 11:26 AM Feb 6,2004 08:58 AM Windows Forms 3
Tags: Tools
Asked On February 5, 2004 11:26 AM

Is there a way to change the default extension from .bin to something else? Thanks. Doug

Administrator [Syncfusion]
Replied On February 5, 2004 12:12 PM

Hi Doug, The AppStateSerializer supports the following serialization modes : (i) IsolatedStorage (ii) BinaryFile (iii)XMLFile (iv) WindowsRegistry (v) XMLFmtStream (vi) BinaryFmtStream You could specify any of the above modes using the SerializeMode enumeration value as follows : AppStateSerializer serializer = new AppStateSerializer(SerializeMode.XMLFile, fileName); Please refer to the Class Reference for more information. Thanks for your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Replied On February 6, 2004 07:02 AM

Thank you for your reply. I suppose my question wasn't clear enough. I am calling: AppStateSerializer serializer = new AppStateSerializer(SerializeMode.BinaryFile,fileName); I want to save the the binary file, but when it saves, it always puts ".bin" at the end of the fileName. Is there any way to change this? I want the extension to be something different than ".bin". Thanks. Doug

Administrator [Syncfusion]
Replied On February 6, 2004 08:58 AM

Hi Doug, Thanks for the clarification. It is possible to do so if you have the source code by modifying the AppStateSerializer class file. Please create an incident in Direct Trac in this regard, and I will update you there with more information. Thanks for your cooperation. Regards, Guru Patwal Syncfusion, Inc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.