Skip to Main Content
C# in a Nutshell, Second Edition
book

C# in a Nutshell, Second Edition

by Peter Drayton, Ben Albahari, Ted Neward
August 2003
Intermediate to advanced content levelIntermediate to advanced
928 pages
32h 1m
English
O'Reilly Media, Inc.
Content preview from C# in a Nutshell, Second Edition

Name

IsolatedStorage

Synopsis

This is the abstract base class from which all isolated storage classes must inherit. AssemblyIdentity returns the assembly identity associated with the isolated store, and DomainIdentity returns the domain associated with the store. Use CurrentSize to detect how much space the store takes up on the disk, and use MaximumSize to detect the maximum storage allowed. Scope returns an IsolatedStorageScope enumeration for the store. If you wish to delete the isolated store and all its contents completely, call Remove( ).

public abstract class IsolatedStorage : MarshalByRefObject {
// Protected Constructors
   protected IsolatedStorage( );
// Public Instance Properties
   public object AssemblyIdentity{get; }
   public virtual ulong CurrentSize{get; }
   public object DomainIdentity{get; }
   public virtual ulong MaximumSize{get; }
   public IsolatedStorageScope Scope{get; }
// Protected Instance Properties
   protected virtual char SeparatorExternal{get; }
   protected virtual char SeparatorInternal{get; }
// Public Instance Methods
   public abstract void Remove( );
// Protected Instance Methods
   protected abstract IsolatedStoragePermission GetPermission(System.Security.PermissionSet ps);
   protected void InitStore(IsolatedStorageScope scope, Type domainEvidenceType,
        Type assemblyEvidenceType);
}

Hierarchy

System.Object System.MarshalByRefObject IsolatedStorage

Subclasses

IsolatedStorageFile

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# in a Nutshell

C# in a Nutshell

Ben Albahari, Ted Neward, Peter Drayton
C# 7.0 in a Nutshell

C# 7.0 in a Nutshell

Joseph Albahari, Ben Albahari
C# Cookbook, 2nd Edition

C# Cookbook, 2nd Edition

Jay Hilyard, Stephen Teilhet
C# Cookbook

C# Cookbook

Stephen Teilhet, Jay Hilyard

Publisher Resources

ISBN: 0596005261Catalog PageErrata