LosFormatter

LosFormatter

System.Web.UI (system.web.dll)sealed class

This class is used by ASP.NET to implement Limited Object Serialization (LOS) for view state. It converts the data stored in every control's StateBag into a lightly encrypted, condensed ASCII field that is added to the page as a hidden input control. While you can store complex information in the StateBag, the LosFormatter is optimized for strings, arrays, hashtables, and other primitive .NET types defined in the System namespace. This class provides functionality through the methods Serialize( ) and Deserialize( ).

public sealed class LosFormatter { // Public Constructors    public LosFormatter( );    public LosFormatter(bool enableMac, string macKeyModifier); // Public Instance Methods    public object Deserialize(System.IO.Stream stream);    public object Deserialize(string input);    public object Deserialize(System.IO.TextReader input);    public void Serialize(System.IO.Stream stream, object value);    public void Serialize(System.IO.TextWriter output, object value); }


ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net