dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO/IsolatedStorage Iso


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO/IsolatedStorage IsolatedStorage.cs,1.2,1.3 IsolatedStorageFile.cs,1.3,1.4 IsolatedStorageFileStream.cs,1.2,1.3
Date: Wed, 28 May 2003 23:13:00 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/IsolatedStorage
In directory subversions:/tmp/cvs-serv7044/runtime/System/IO/IsolatedStorage

Modified Files:
        IsolatedStorage.cs IsolatedStorageFile.cs 
        IsolatedStorageFileStream.cs 
Log Message:


Add new profile options - CONFIG_PERMISSIONS and CONFIG_POLICY_OBJECTS.


Index: IsolatedStorage.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/IsolatedStorage/IsolatedStorage.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** IsolatedStorage.cs  24 Apr 2003 23:36:53 -0000      1.2
--- IsolatedStorage.cs  29 May 2003 03:12:58 -0000      1.3
***************
*** 118,124 ****
--- 118,128 ----
                        }
  
+ #if CONFIG_PERMISSIONS
+ 
        // Get isolated storage permission information from a permission set.
        protected abstract IsolatedStoragePermission
                        GetPermission(PermissionSet ps);
+ 
+ #endif
  
        // Initialise this storage object.  We don't use the evidence 
information,

Index: IsolatedStorageFile.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/IsolatedStorage/IsolatedStorageFile.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** IsolatedStorageFile.cs      24 Apr 2003 23:36:53 -0000      1.3
--- IsolatedStorageFile.cs      29 May 2003 03:12:58 -0000      1.4
***************
*** 248,251 ****
--- 248,253 ----
                        }
  
+ #if CONFIG_PERMISSIONS
+ 
        // Get isolated storage permission information from a permission set.
        protected override IsolatedStoragePermission
***************
*** 267,270 ****
--- 269,274 ----
                                }
                        }
+ 
+ #endif
  
        // Get the base directory for an isolated storage scope.

Index: IsolatedStorageFileStream.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/IsolatedStorage/IsolatedStorageFileStream.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** IsolatedStorageFileStream.cs        21 Apr 2003 21:10:24 -0000      1.2
--- IsolatedStorageFileStream.cs        29 May 2003 03:12:58 -0000      1.3
***************
*** 105,111 ****
--- 105,113 ----
                                String baseDir = sf.BaseDirectory;
  
+ #if CONFIG_PERMISSIONS
                                // Assert that we have permission to do this.
                                (new FileIOPermission
                                        (FileIOPermissionAccess.AllAccess, 
baseDir)).Assert();
+ #endif
  
                                // Open the real stream.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]