System.Web.UI.LosFormatter.Deserialize C# (CSharp) Method

Deserialize() public method

public Deserialize ( string input ) : object
input string
return object
		public object Deserialize (string input)
		{
			if (input == null)
				return null;

			return osf.Deserialize (input);
		}

Same methods

LosFormatter::Deserialize ( Stream stream ) : object
LosFormatter::Deserialize ( TextReader input ) : object

Usage Example

 protected object LoadPageStateFromCompressedViewState()
 {
     string viewState = Request.Form["__VSTATE"];
     byte[] bytes = Convert.FromBase64String(viewState);
     bytes = IntegrationWebSiteMvc.Classes.Compressor.Decompress(bytes);
     LosFormatter formatter = new LosFormatter();
     return formatter.Deserialize(Convert.ToBase64String(bytes));
 }
All Usage Examples Of System.Web.UI.LosFormatter::Deserialize