Silverlight 5 | WinRT |
public sealed class AllowPartiallyTrustedCallersAttribute | |
: Attribute, _Attribute | |
public PartialTrustVisibilityLevel PartialTrustVisibilityLevel { get; set; } |
public abstract class CodeAccessPermission | |
: IPermission, ISecurityEncodable, IStackWalk | |
public virtual void Assert(); | |
public abstract virtual IPermission Copy(); | |
public virtual void Demand(); | |
public virtual void Deny(); | |
public virtual Boolean Equals(Object obj); | |
public abstract virtual void FromXml(SecurityElement elem); | |
public virtual Int32 GetHashCode(); | |
public abstract virtual IPermission Intersect(IPermission target); | |
public abstract virtual Boolean IsSubsetOf(IPermission target); | |
public virtual void PermitOnly(); | |
static public void RevertAll(); | |
static public void RevertAssert(); | |
static public void RevertDeny(); | |
static public void RevertPermitOnly(); | |
public virtual String ToString(); | |
public abstract virtual SecurityElement ToXml(); | |
public virtual IPermission Union(IPermission other); |
public class HostProtectionException | |
: SystemException, ISerializable, _Exception | |
public HostProtectionResource DemandedResources { get; } | |
public HostProtectionResource ProtectedResources { get; } | |
public virtual void GetObjectData(SerializationInfo info, StreamingContext context); | |
public virtual String ToString(); |
public class HostSecurityManager | |
public virtual PolicyLevel DomainPolicy { get; } | |
public virtual HostSecurityManagerOptions Flags { get; } | |
public virtual ApplicationTrust DetermineApplicationTrust(Evidence applicationEvidence, Evidence activatorEvidence, TrustManagerContext context); | |
public virtual EvidenceBase GenerateAppDomainEvidence(Type evidenceType); | |
public virtual EvidenceBase GenerateAssemblyEvidence(Type evidenceType, Assembly assembly); | |
public virtual Type GetHostSuppliedAppDomainEvidenceTypes(); | |
public virtual Type GetHostSuppliedAssemblyEvidenceTypes(Assembly assembly); | |
public virtual Evidence ProvideAppDomainEvidence(Evidence inputEvidence); | |
public virtual Evidence ProvideAssemblyEvidence(Assembly loadedAssembly, Evidence inputEvidence); | |
public virtual PermissionSet ResolvePolicy(Evidence evidence); |
public sealed enum HostSecurityManagerOptions | |
: IComparable, IFormattable, IConvertible | |
{ None, HostAppDomainEvidence, HostPolicyLevel, HostAssemblyEvidence, HostDetermineApplicationTrust, HostResolvePolicy, AllFlags } |
public abstract interface IEvidenceFactory | |
public abstract virtual Evidence Evidence { get; } |
public abstract interface IPermission | |
: ISecurityEncodable | |
public abstract virtual IPermission Copy(); | |
public abstract virtual void Demand(); | |
public abstract virtual IPermission Intersect(IPermission target); | |
public abstract virtual Boolean IsSubsetOf(IPermission target); | |
public abstract virtual IPermission Union(IPermission target); |
public abstract interface ISecurityEncodable | |
public abstract virtual void FromXml(SecurityElement e); | |
public abstract virtual SecurityElement ToXml(); |
public abstract interface ISecurityPolicyEncodable | |
public abstract virtual void FromXml(SecurityElement e, PolicyLevel level); | |
public abstract virtual SecurityElement ToXml(PolicyLevel level); |
public abstract interface IStackWalk | |
public abstract virtual void Assert(); | |
public abstract virtual void Demand(); | |
public abstract virtual void Deny(); | |
public abstract virtual void PermitOnly(); |
public sealed enum ManifestKinds | |
: IComparable, IFormattable, IConvertible | |
{ None, Deployment, Application, ApplicationAndDeployment } |
public sealed class NamedPermissionSet | |
: PermissionSet, ISecurityEncodable, ICollection, IEnumerable, IStackWalk, IDeserializationCallback | |
public String Description { get; set; } | |
public String Name { get; set; } | |
public virtual PermissionSet Copy(); | |
public NamedPermissionSet Copy(String name); | |
public virtual Boolean Equals(Object obj); | |
public virtual void FromXml(SecurityElement et); | |
public virtual Int32 GetHashCode(); | |
public virtual SecurityElement ToXml(); |
public sealed enum PartialTrustVisibilityLevel | |
: IComparable, IFormattable, IConvertible | |
{ VisibleToAllHosts, NotVisibleByDefault } |
public class PermissionSet | |
: ISecurityEncodable, ICollection, IEnumerable, IStackWalk, IDeserializationCallback | |
public virtual Int32 Count { get; } | |
public virtual Boolean IsReadOnly { get; } | |
public virtual Boolean IsSynchronized { get; } | |
public virtual Object SyncRoot { get; } | |
public IPermission AddPermission(IPermission perm); | |
protected virtual IPermission AddPermissionImpl(IPermission perm); | |
public virtual void Assert(); | |
public Boolean ContainsNonCodeAccessPermissions(); | |
static public Byte ConvertPermissionSet(String inFormat, Byte[] inData, String outFormat); | |
public virtual PermissionSet Copy(); | |
public virtual void CopyTo(Array array, Int32 index); | |
public virtual void Demand(); | |
public virtual void Deny(); | |
public virtual Boolean Equals(Object obj); | |
public virtual void FromXml(SecurityElement et); | |
public virtual IEnumerator GetEnumerator(); | |
protected virtual IEnumerator GetEnumeratorImpl(); | |
public virtual Int32 GetHashCode(); | |
public IPermission GetPermission(Type permClass); | |
protected virtual IPermission GetPermissionImpl(Type permClass); | |
public PermissionSet Intersect(PermissionSet other); | |
public Boolean IsEmpty(); | |
public Boolean IsSubsetOf(PermissionSet target); | |
public Boolean IsUnrestricted(); | |
public virtual void PermitOnly(); | |
public IPermission RemovePermission(Type permClass); | |
protected virtual IPermission RemovePermissionImpl(Type permClass); | |
static public void RevertAssert(); | |
public IPermission SetPermission(IPermission perm); | |
protected virtual IPermission SetPermissionImpl(IPermission perm); | |
public virtual String ToString(); | |
public virtual SecurityElement ToXml(); | |
public PermissionSet Union(PermissionSet other); |
public sealed enum PolicyLevelType | |
: IComparable, IFormattable, IConvertible | |
{ User, Machine, Enterprise, AppDomain } |
public sealed class ReadOnlyPermissionSet | |
: PermissionSet, ISecurityEncodable, ICollection, IEnumerable, IStackWalk, IDeserializationCallback | |
public virtual Boolean IsReadOnly { get; } | |
protected virtual IPermission AddPermissionImpl(IPermission perm); | |
public virtual PermissionSet Copy(); | |
public virtual void FromXml(SecurityElement et); | |
protected virtual IEnumerator GetEnumeratorImpl(); | |
protected virtual IPermission GetPermissionImpl(Type permClass); | |
protected virtual IPermission RemovePermissionImpl(Type permClass); | |
protected virtual IPermission SetPermissionImpl(IPermission perm); | |
public virtual SecurityElement ToXml(); |
public sealed class SecureString | |
: IDisposable | |
public Int32 Length { get; } | |
public void AppendChar(Char c); | |
public void Clear(); | |
public SecureString Copy(); | |
public virtual void Dispose(); | |
public void InsertAt(Int32 index, Char c); | |
public Boolean IsReadOnly(); | |
public void MakeReadOnly(); | |
public void RemoveAt(Int32 index); | |
public void SetAt(Int32 index, Char c); |
public sealed class SecurityContext | |
: IDisposable | |
static public SecurityContext Capture(); | |
public SecurityContext CreateCopy(); | |
public virtual void Dispose(); | |
static public Boolean IsFlowSuppressed(); | |
static public Boolean IsWindowsIdentityFlowSuppressed(); | |
static public void RestoreFlow(); | |
static public void Run(SecurityContext securityContext, ContextCallback callback, Object state); | |
static public AsyncFlowControl SuppressFlow(); | |
static public AsyncFlowControl SuppressFlowWindowsIdentity(); |
public sealed enum SecurityContextSource | |
: IComparable, IFormattable, IConvertible | |
{ CurrentAppDomain, CurrentAssembly } |
public sealed class SecurityCriticalAttribute | public sealed class SecurityCriticalAttribute |
: Attribute, _Attribute | : Attribute, _Attribute |
public sealed enum SecurityCriticalScope | |
: IComparable, IFormattable, IConvertible | |
{ Explicit, Everything } |
public sealed class SecurityElement | |
: ISecurityElementFactory | |
public Hashtable Attributes { get; set; } | |
public ArrayList Children { get; set; } | |
public String Tag { get; set; } | |
public String Text { get; set; } | |
public void AddAttribute(String name, String value); | |
public void AddChild(SecurityElement child); | |
public String Attribute(String name); | |
public SecurityElement Copy(); | |
public Boolean Equal(SecurityElement other); | |
static public String Escape(String str); | |
static public SecurityElement FromString(String xml); | |
static public Boolean IsValidAttributeName(String name); | |
static public Boolean IsValidAttributeValue(String value); | |
static public Boolean IsValidTag(String tag); | |
static public Boolean IsValidText(String text); | |
public SecurityElement SearchForChildByTag(String tag); | |
public String SearchForTextOfTag(String tag); | |
public virtual String ToString(); |
public class SecurityException | public class SecurityException |
: SystemException, _Exception | : SystemException, ISerializable, _Exception |
public SecurityAction Action { get; set; } | |
public Object Demanded { get; set; } | |
public Object DenySetInstance { get; set; } | |
public AssemblyName FailedAssemblyInfo { get; set; } | |
public IPermission FirstPermissionThatFailed { get; set; } | |
public String GrantedSet { get; set; } | |
public MethodInfo Method { get; set; } | |
public String PermissionState { get; set; } | |
public Type PermissionType { get; set; } | |
public Object PermitOnlySetInstance { get; set; } | |
public String RefusedSet { get; set; } | |
public String Url { get; set; } | |
public SecurityZone Zone { get; set; } | |
public virtual void GetObjectData(SerializationInfo info, StreamingContext context); | |
public virtual String ToString(); | public virtual String ToString(); |
public abstract sealed class SecurityManager | |
static public Boolean CheckExecutionRights { get; set; } | |
static public Boolean SecurityEnabled { get; set; } | |
static public Boolean CurrentThreadRequiresSecurityContextCapture(); | |
static public PermissionSet GetStandardSandbox(Evidence evidence); | |
static public void GetZoneAndOrigin(out ArrayList& zone, out ArrayList& origin); | |
static public Boolean IsGranted(IPermission perm); | |
static public PolicyLevel LoadPolicyLevelFromFile(String path, PolicyLevelType type); | |
static public PolicyLevel LoadPolicyLevelFromString(String str, PolicyLevelType type); | |
static public IEnumerator PolicyHierarchy(); | |
static public PermissionSet ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, out PermissionSet& denied); | |
static public PermissionSet ResolvePolicy(Evidence evidence); | |
static public PermissionSet ResolvePolicy(Evidence evidences); | |
static public IEnumerator ResolvePolicyGroups(Evidence evidence); | |
static public PermissionSet ResolveSystemPolicy(Evidence evidence); | |
static public void SavePolicy(); | |
static public void SavePolicyLevel(PolicyLevel level); |
public sealed class SecurityRulesAttribute | |
: Attribute, _Attribute | |
public SecurityRuleSet RuleSet { get; } | |
public Boolean SkipVerificationInFullTrust { get; set; } |
public sealed enum SecurityRuleSet | |
: IComparable, IFormattable, IConvertible | |
{ None, Level1, Level2 } |
public sealed class SecuritySafeCriticalAttribute | public sealed class SecuritySafeCriticalAttribute |
: Attribute, _Attribute | : Attribute, _Attribute |
public abstract class SecurityState | public abstract class SecurityState |
public abstract virtual void EnsureState(); | public abstract virtual void EnsureState(); |
public Boolean IsStateAvailable(); | public Boolean IsStateAvailable(); |
public sealed class SecurityTransparentAttribute | public sealed class SecurityTransparentAttribute |
: Attribute, _Attribute | : Attribute, _Attribute |
public sealed class SecurityTreatAsSafeAttribute | |
: Attribute, _Attribute |
public sealed enum SecurityZone | |
: IComparable, IFormattable, IConvertible | |
{ MyComputer, Intranet, Trusted, Internet, Untrusted, NoZone } |
public sealed class SuppressUnmanagedCodeSecurityAttribute | |
: Attribute, _Attribute |
public sealed class UnverifiableCodeAttribute | public sealed class UnverifiableCodeAttribute |
: Attribute, _Attribute | : Attribute, _Attribute |
public class VerificationException | public class VerificationException |
: SystemException, _Exception | : SystemException, ISerializable, _Exception |
public sealed class XmlSyntaxException | |
: SystemException, ISerializable, _Exception |