Locations of visitors to this page
    Sprouting Synapses       Minimize  

             
            Minimize  
Author: SkySigal Created: 8/8/2008 4:04 PM
.NET FileSystem, Streams, Compression, Isolated Storage, etc.

By SkySigal on 9/6/2008 3:44 AM

A buried fact is how to manage IsolatedStorage -- you don't see it mentioned too often.

Just use the StoreAdm command line tool, which provides a couple of ways to cleanup after a person.

image

You'll probably find the *.exe here:

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\StoreAdm.exe

or

c:\program files\microsoft visual studio 8\sdk\v2.0\bin\storeadm.exe

powered by metaPost

By SkySigal on 9/6/2008 3:16 AM

blog_csharp_streams This is more of a reminder to myself than anything else, but I'm *always* looking high and low for this in the wrong place (I keep on reaching for System.IO.Directory when in fact its under System.Environment):


Environment.GetFolderPath(
    System.Environment.SpecialFolder.CommonApplicationData);

Environment.GetFolderPath(
    System.Environment.SpecialFolder.ApplicationData);

etc.
powered by metaPost

By SkySigal on 9/5/2008 3:43 PM

blog_csharp_streamsBasic File operations on the .NET platform are really easy, once you get past the one or two strangely chosen class names.

This is a post demonstrating various ways of getting the job done, depending on how much control you need.

Read More »

By SkySigal on 9/5/2008 1:15 PM

blog_csharp_streams I was just writing up in another post about the System.IO.File in terms of streams, when I realized that this section could come in handy, as a quick reference, in the future, and deserved its own post.

It just lists, succinctly, the most common static methods used to open, read, write files, with information as to the returned variable, Encoding used, and whether an err if will be thrown if the file is not found...

Read More »


             
Copyright 2007 by Sky Sigal