c# - How to read a xml file stored in a application local folder in windows phone 8.1 app development -
i new in windows application development.i looking code me read content of xml file stored in application local folder.
description : in application once user clicks on submit button,i have stored user status "true" in xml file using below code : //
windows.storage.storagefolder localfolder = windows.storage.applicationdata.current.localfolder; var stream = await localfolder.createfileasync(filename, creationcollisionoption.replaceexisting); usercontent +=signup_username.text; usercontent += signup_number.text; usercontent += signup_email.text; usercontent += signup_password.password; usercontent += "\n loginstatus : " + true + ""; await fileio.writetextasync(stream, usercontent);
but once user again enter in application want check user status whether true
or false
reading above created file content. offline process check logged in status in local mobile.
platform - windows phone 8.1 xaml , c#
can please me implement functionality.
Comments
Post a Comment