Hi i am using user login , logout and signup in my windows phone app. So i have to maintain user session in my app, like the user minimize my app and go to another another app, again the user come back to my app that time the user want having automatically logged in. so any one tell me how to do this
Tag : Mobile, MySQL, Device (Mobile), C#, Windows Phone, Windows
using (var store = IsolatedStorageFile.GetUserStoreForApplication())
using (var stream = new IsolatedStorageFileStream("data.txt",
FileMode.Create,
FileAccess.Write,
store))
{
var serializer = new XmlSerializer(typeof(FeedViewModel));
serializer.Serialize(stream, ViewModel);
}