using System;
using System.Runtime.InteropServices;
namespace System.Security.Permissions
{
/// Allows security actions for to be applied to code using declarative security.
// Token: 0x02000553 RID: 1363
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
[ComVisible(true)]
[Serializable]
public abstract class IsolatedStoragePermissionAttribute : CodeAccessSecurityAttribute
{
/// Initializes a new instance of the class with the specified .
/// One of the values.
// Token: 0x060031C3 RID: 12739 RVA: 0x000AB27C File Offset: 0x000A947C
protected IsolatedStoragePermissionAttribute(SecurityAction action)
: base(action)
{
}
/// Gets or sets the level of isolated storage that should be declared.
/// One of the values.
// Token: 0x170009BC RID: 2492
// (get) Token: 0x060031C4 RID: 12740 RVA: 0x000AB288 File Offset: 0x000A9488
// (set) Token: 0x060031C5 RID: 12741 RVA: 0x000AB290 File Offset: 0x000A9490
public IsolatedStorageContainment UsageAllowed
{
get
{
return this.usage_allowed;
}
set
{
this.usage_allowed = value;
}
}
/// Gets or sets the maximum user storage quota size.
/// The maximum user storage quota size in bytes.
// Token: 0x170009BD RID: 2493
// (get) Token: 0x060031C6 RID: 12742 RVA: 0x000AB29C File Offset: 0x000A949C
// (set) Token: 0x060031C7 RID: 12743 RVA: 0x000AB2A4 File Offset: 0x000A94A4
public long UserQuota
{
get
{
return this.user_quota;
}
set
{
this.user_quota = value;
}
}
// Token: 0x0400146F RID: 5231
private IsolatedStorageContainment usage_allowed;
// Token: 0x04001470 RID: 5232
private long user_quota;
}
}