473,659 Members | 2,609 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 2712
using System.IO.Isola tedStorage;

IsolatedStorage File isoStore= IsolatedStorage File.GetUserSto reForAssembly() ;

isoStore.Create Directory("What ever");
System.IO.Strea m fs = new IsolatedStoreag eFileStream("Wh atever.txt",
FileMode.Create , isoStore);
StreamWriter isoWriter = new StreamWriter(fs );
To get the files..

string[] isoFiles = isoStore.GetFil eNames("FileFil ter");
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******** *****@TK2MSFTNG P12.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********@com cast.nospam.net > wrote in message
news:un******** ******@TK2MSFTN GP12.phx.gbl...
using System.IO.Isola tedStorage;

IsolatedStorage File isoStore= IsolatedStorage File.GetUserSto reForAssembly() ;
isoStore.Create Directory("What ever");
System.IO.Strea m fs = new IsolatedStoreag eFileStream("Wh atever.txt",
FileMode.Create , isoStore);
StreamWriter isoWriter = new StreamWriter(fs );
To get the files..

string[] isoFiles = isoStore.GetFil eNames("FileFil ter");
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******** *****@TK2MSFTNG P12.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******** ******@TK2MSFTN GP09.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********@com cast.nospam.net > wrote in message
news:un******** ******@TK2MSFTN GP12.phx.gbl...
using System.IO.Isola tedStorage;

IsolatedStorage File isoStore=

IsolatedStorage File.GetUserSto reForAssembly() ;

isoStore.Create Directory("What ever");
System.IO.Strea m fs = new IsolatedStoreag eFileStream("Wh atever.txt",
FileMode.Create , isoStore);
StreamWriter isoWriter = new StreamWriter(fs );
To get the files..

string[] isoFiles = isoStore.GetFil eNames("FileFil ter");
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******** *****@TK2MSFTNG P12.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/cpconintroducti ontoisolatedsto rage.asp
"Frazer" <Ic***@hotmail. com> wrote in message
news:Op******** *****@TK2MSFTNG P12.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
2453
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/) There is another document indicating it is 10240 in size (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/ht ml/cpcondefaultsecuritypolicy.asp)
1
2311
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 2000 Server computers. It also works OK on Windows 2003 Server UNTIL Windows 2003 Service Pack 1 is installed! The error and stack trace I am given is:
0
1086
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 set to false in web.config, IsolatedStorage works fine. But when I try to set impersonation to true via the web.config, calling IsolatedStorageFile.GetUserStoreForDomain() get me an IsolatedStorageException with this call stack:
0
3102
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 = IsolatedStorageFile.GetStore( IsolatedStorageScope.User | IsolatedStorageScope.Assembly |IsolatedStorageScope.Domain , null, null );
2
1579
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..." lines, and the "End of job" line, but no "Reading" lines. I've tried to debug it a bit, and the reader.Peek() value is -1 prior to the
2
2536
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 application when the application is uninstalled. So, I created an uninstaller class that overrides the uninstall method, as follows: private void DeleteSettings(){ // Try and delete the settings.config
0
1091
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 FileNotFoundException. It's weird. Here is my functio to load the settings: <code> public PageSettings LoadBuildSnLabelPageSettings()
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 cache, I came across a class that was using the System.IO.IsolatedStorageFile class. I decided to look it up to understand it more and the MSDN docs fall short of explaining what it's used for. A quick glance at google came up with nothing I could...
1
1781
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 are using, and then either store it directly in a database we have designated for this purpose or if they are using the tool off-line and off-network, it will store the data in a IsolatedStorage file, and then when the user is connected to the...
2
1516
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 using the IsolatedFileStorage to save a class with the settings in it. I've set breakpoints in the program and watched as the correct values are supposedly 'saved' in the IsolatedFileStorage location. But then when I load them back from the file,...
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8341
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8751
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8539
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8630
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7360
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5650
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.