473,508 Members | 2,007 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IsolatedStorage

hi,
What is the advantage of storing data in the isolated storage.
Also how can i retrieve that data?

Thnx
Jul 21 '05 #1
4 2688
using System.IO.IsolatedStorage;

IsolatedStorageFile isoStore= IsolatedStorageFile.GetUserStoreForAssembly();

isoStore.CreateDirectory("Whatever");
System.IO.Stream fs = new IsolatedStoreageFileStream("Whatever.txt",
FileMode.Create, isoStore);
StreamWriter isoWriter = new StreamWriter(fs);
To get the files..

string[] isoFiles = isoStore.GetFileNames("FileFilter");
foreach(string isoFile in isoFiles){
//Whatever

}

--

W.G. Ryan, eMVP

http://forums.devbuzz.com/
http://www.knowdotnet.com/williamryan.html
http://www.msmvps.com/WilliamRyan/
"Frazer" <Ic***@hotmail.com> wrote in message
news:Op*************@TK2MSFTNGP12.phx.gbl...
hi,
What is the advantage of storing data in the isolated storage.
Also how can i retrieve that data?

Thnx

Jul 21 '05 #2
Thanx for that.
how do i see where this file is created.
and what is the advantage of using isolatedstorage?
thnx

"William Ryan eMVP" <do********@comcast.nospam.net> wrote in message
news:un**************@TK2MSFTNGP12.phx.gbl...
using System.IO.IsolatedStorage;

IsolatedStorageFile isoStore= IsolatedStorageFile.GetUserStoreForAssembly();
isoStore.CreateDirectory("Whatever");
System.IO.Stream fs = new IsolatedStoreageFileStream("Whatever.txt",
FileMode.Create, isoStore);
StreamWriter isoWriter = new StreamWriter(fs);
To get the files..

string[] isoFiles = isoStore.GetFileNames("FileFilter");
foreach(string isoFile in isoFiles){
//Whatever

}

--

W.G. Ryan, eMVP

http://forums.devbuzz.com/
http://www.knowdotnet.com/williamryan.html
http://www.msmvps.com/WilliamRyan/
"Frazer" <Ic***@hotmail.com> wrote in message
news:Op*************@TK2MSFTNGP12.phx.gbl...
hi,
What is the advantage of storing data in the isolated storage.
Also how can i retrieve that data?

Thnx


Jul 21 '05 #3
You're not suppose to see them anywhere, they're stored encrypted in the
user's machine. That's what the advantage is: user-specific free encryption
of data, organized under a filesystem of sorts.

--
Klaus H. Probst, MVP
http://www.vbbox.com/
"Frazer" <Ic***@hotmail.com> wrote in message
news:eM**************@TK2MSFTNGP09.phx.gbl...
Thanx for that.
how do i see where this file is created.
and what is the advantage of using isolatedstorage?
thnx

"William Ryan eMVP" <do********@comcast.nospam.net> wrote in message
news:un**************@TK2MSFTNGP12.phx.gbl...
using System.IO.IsolatedStorage;

IsolatedStorageFile isoStore=

IsolatedStorageFile.GetUserStoreForAssembly();

isoStore.CreateDirectory("Whatever");
System.IO.Stream fs = new IsolatedStoreageFileStream("Whatever.txt",
FileMode.Create, isoStore);
StreamWriter isoWriter = new StreamWriter(fs);
To get the files..

string[] isoFiles = isoStore.GetFileNames("FileFilter");
foreach(string isoFile in isoFiles){
//Whatever

}

--

W.G. Ryan, eMVP

http://forums.devbuzz.com/
http://www.knowdotnet.com/williamryan.html
http://www.msmvps.com/WilliamRyan/
"Frazer" <Ic***@hotmail.com> wrote in message
news:Op*************@TK2MSFTNGP12.phx.gbl...
hi,
What is the advantage of storing data in the isolated storage.
Also how can i retrieve that data?

Thnx



Jul 21 '05 #4
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconintroductiontoisolatedstorage.asp
"Frazer" <Ic***@hotmail.com> wrote in message
news:Op*************@TK2MSFTNGP12.phx.gbl...
hi,
What is the advantage of storing data in the isolated storage.
Also how can i retrieve that data?

Thnx

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2443
by: Jody Gelowitz | last post by:
Exactly what is the size limit of Isolated Storage in the Internet permission set? I have a document indicating it is 10MB (http://msdn.microsoft.com/msdnmag/issues/02/07/NetSmartClients/) ...
1
2304
by: Simon Chester | last post by:
Hello! Can anyone help me with this problem?... I have developed an ASP.NET (version 1.1) application which I have deployed to a number of webservers. The web application works fine on Windows...
0
1076
by: Zdenek Drlik | last post by:
Hi, I have an ASP.NET application. I want to use IsolatedStorage in this application. When I run this application with anonymous access set in IIS (user set to IUSR_<machine>) and impersonation...
0
3085
by: SampathTangudu | last post by:
Hi, We are trying to use the Hash Tables for passing information from one aspx page to another aspx page. We are using the below code. IsolatedStorageFile isoStore =...
2
1572
by: Diana L | last post by:
Hi: I'm trying to get this isolated storage snippet to work. It's trying to write a few lines, then trying to read them and print them out to the browser. The browser prints the "Writing..."...
2
2524
by: Josh Kandiko | last post by:
Hi, I've been having some frustrations with deleting files from the Isolated Storage directories. Basically, I want my application to remove all instances of configuration information for my...
0
1080
by: sklett | last post by:
I'm pretty new to Isolated Storage and have run across a problem. I'm serializing a PageSettings object and storing using Isolated Storage. When trying to load the PageSettings I'm getting a...
1
385
by: Mythran | last post by:
We are using the P&P Enterprise Library Application Blocks in our applications and I'm reviewing how the EL stores it's cached data. As I was looking through the implementation of the security...
1
1775
by: SteveM | last post by:
I am writing a ToolUsage tracker which we will be accessing from each of our custom written tools. It will basically capture various pieces of information about the user, and the application they...
2
1502
by: mortovski | last post by:
Hi there, I'm working on a Windows application in C# and wanting to persist MDI window states so that when a user opens the application, it looks like it did when they closed it down. I've been...
0
7125
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7328
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7049
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5631
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3199
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1561
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
422
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.