Introduction to Windows phone's isolated storage

Source: Internet
Author: User

What is isolated storage

Isolated Storage (IsolatedStorage) This thing was first used in Silverlight (okay, I know it because of WP. ISOLATED storage)

To explain what is isolated storage first of all, say what is independent (isolated) independence is the Oneness

Isolated storage is a program to save something only a B can not use the same reason B things can only b himself with a can not access

The great benefit of this is that you can improve security even if you download a virus, the virus can only be destroyed in its own isolated storage space.

Because of the independent storage of WP is actually "shared storage" (everyone's independent storage space is actually sharing the mobile phone that memory of the so-called independence is only a logical document form independent rather than space independence)

So WP mobile phone even if the worst case is only mobile phone space is a burst of violence (since a understand welcome to pat Bricks)

Isolated storage is divided into 2 different forms:

1. Storage in the form of files, creating and managing data in the form of real files and directories

2. Set the form of a dictionary to create key-value pairs, can be used to save a small amount of data (for the implementation of the tombstone mechanism and such as software settings such as the goods are very useful)

First, the next isolated Storage (IsolatedStorage) is located in the System.IO.IsolatedStorage

When the input isolatedstorage, the smart tip will have 4 related to isolated storage ... Should this be called an option or a choice?

The first of these is an exception error for isolated storage isolatedstorageexception

The second one is for creating and managing files

The third is primarily for reading, which reads out the stream of files stored in the isolated store (this class inherits from FileStream, and most of the FileStream can be compatible with the goods)

The fourth is to get isolated storage in the form of a setting ... (Just like the second of the 2 forms of isolated storage that you just said)

There's nothing to say about the second and fourth, IsolatedStorageFile and Isolatedstoragesettings.

IsolatedStorageFile

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.