Silverlight 5 | WinRT |
public sealed class AllMembershipCondition | |
: IConstantMembershipCondition, IReportMatchMembershipCondition, IMembershipCondition, ISecurityEncodable, ISecurityPolicyEncodable | |
public virtual Boolean Check(Evidence evidence); | |
public virtual IMembershipCondition Copy(); | |
public virtual Boolean Equals(Object o); | |
public virtual void FromXml(SecurityElement e, PolicyLevel level); | |
public virtual void FromXml(SecurityElement e); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); | |
public virtual SecurityElement ToXml(PolicyLevel level); | |
public virtual SecurityElement ToXml(); |
public sealed class ApplicationDirectory | |
: EvidenceBase | |
public String Directory { get; } | |
public virtual EvidenceBase Clone(); | |
public Object Copy(); | |
public virtual Boolean Equals(Object o); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); |
public sealed class ApplicationDirectoryMembershipCondition | |
: IConstantMembershipCondition, IReportMatchMembershipCondition, IMembershipCondition, ISecurityEncodable, ISecurityPolicyEncodable | |
public virtual Boolean Check(Evidence evidence); | |
public virtual IMembershipCondition Copy(); | |
public virtual Boolean Equals(Object o); | |
public virtual void FromXml(SecurityElement e); | |
public virtual void FromXml(SecurityElement e, PolicyLevel level); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); | |
public virtual SecurityElement ToXml(); | |
public virtual SecurityElement ToXml(PolicyLevel level); |
public sealed class ApplicationSecurityInfo | |
public Evidence ApplicationEvidence { get; set; } | |
public ApplicationId ApplicationId { get; set; } | |
public PermissionSet DefaultRequestSet { get; set; } | |
public ApplicationId DeploymentId { get; set; } |
public abstract sealed class ApplicationSecurityManager | |
static public IApplicationTrustManager ApplicationTrustManager { get; } | |
static public ApplicationTrustCollection UserApplicationTrusts { get; } | |
static public Boolean DetermineApplicationTrust(ActivationContext activationContext, TrustManagerContext context); |
public sealed class ApplicationTrust | |
: EvidenceBase, ISecurityEncodable | |
public ApplicationIdentity ApplicationIdentity { get; set; } | |
public PolicyStatement DefaultGrantSet { get; set; } | |
public Object ExtraInfo { get; set; } | |
public IList`1<StrongName> FullTrustAssemblies { get; } | |
public Boolean IsApplicationTrustedToRun { get; set; } | |
public Boolean Persist { get; set; } | |
public virtual void FromXml(SecurityElement element); | |
public virtual SecurityElement ToXml(); |
public sealed class ApplicationTrustCollection | |
: ICollection, IEnumerable | |
public virtual Int32 Count { get; } | |
public virtual Boolean IsSynchronized { get; } | |
public ApplicationTrust Item { get; } | |
public ApplicationTrust Item { get; } | |
public virtual Object SyncRoot { get; } | |
public Int32 Add(ApplicationTrust trust); | |
public void AddRange(ApplicationTrust trusts); | |
public void AddRange(ApplicationTrustCollection trusts); | |
public void Clear(); | |
public void CopyTo(ApplicationTrust array, Int32 index); | |
public ApplicationTrustCollection Find(ApplicationIdentity applicationIdentity, ApplicationVersionMatch versionMatch); | |
public ApplicationTrustEnumerator GetEnumerator(); | |
public void Remove(ApplicationIdentity applicationIdentity, ApplicationVersionMatch versionMatch); | |
public void Remove(ApplicationTrust trust); | |
public void RemoveRange(ApplicationTrust trusts); | |
public void RemoveRange(ApplicationTrustCollection trusts); |
public sealed class ApplicationTrustEnumerator | |
: IEnumerator | |
public ApplicationTrust Current { get; } | |
public virtual Boolean MoveNext(); | |
public virtual void Reset(); |
public sealed enum ApplicationVersionMatch | |
: IComparable, IFormattable, IConvertible | |
{ MatchExactVersion, MatchAllVersions } |
public class CodeConnectAccess | |
public Int32 Port { get; } | |
public String Scheme { get; } | |
static public CodeConnectAccess CreateAnySchemeAccess(Int32 allowPort); | |
static public CodeConnectAccess CreateOriginSchemeAccess(Int32 allowPort); | |
public virtual Boolean Equals(Object o); | |
public virtual Int32 GetHashCode(); |
public abstract class CodeGroup | |
public virtual String AttributeString { get; } | |
public IList Children { get; set; } | |
public String Description { get; set; } | |
public IMembershipCondition MembershipCondition { get; set; } | |
public abstract virtual String MergeLogic { get; } | |
public String Name { get; set; } | |
public virtual String PermissionSetName { get; } | |
public PolicyStatement PolicyStatement { get; set; } | |
public void AddChild(CodeGroup group); | |
public abstract virtual CodeGroup Copy(); | |
protected virtual void CreateXml(SecurityElement element, PolicyLevel level); | |
public virtual Boolean Equals(Object o); | |
public Boolean Equals(CodeGroup cg, Boolean compareChildren); | |
public void FromXml(SecurityElement e, PolicyLevel level); | |
public void FromXml(SecurityElement e); | |
public virtual Int32 GetHashCode(); | |
protected virtual void ParseXml(SecurityElement e, PolicyLevel level); | |
public void RemoveChild(CodeGroup group); | |
public abstract virtual PolicyStatement Resolve(Evidence evidence); | |
public abstract virtual CodeGroup ResolveMatchingCodeGroups(Evidence evidence); | |
public SecurityElement ToXml(); | |
public SecurityElement ToXml(PolicyLevel level); |
public sealed class Evidence | |
: ICollection, IEnumerable | |
public virtual Int32 Count { get; } | |
public Boolean IsReadOnly { get; } | |
public virtual Boolean IsSynchronized { get; } | |
public Boolean Locked { get; set; } | |
public virtual Object SyncRoot { get; } | |
public void AddAssembly(Object id); | |
public void AddAssemblyEvidence(T evidence); | |
public void AddHost(Object id); | |
public void AddHostEvidence(T evidence); | |
public void Clear(); | |
public Evidence Clone(); | |
public virtual void CopyTo(Array array, Int32 index); | |
public IEnumerator GetAssemblyEnumerator(); | |
public T GetAssemblyEvidence(); | |
public virtual IEnumerator GetEnumerator(); | |
public IEnumerator GetHostEnumerator(); | |
public T GetHostEvidence(); | |
public void Merge(Evidence evidence); | |
public void RemoveType(Type t); |
public abstract class EvidenceBase | |
public virtual EvidenceBase Clone(); |
public sealed class FileCodeGroup | |
: CodeGroup, IUnionSemanticCodeGroup | |
public virtual String AttributeString { get; } | |
public virtual String MergeLogic { get; } | |
public virtual String PermissionSetName { get; } | |
public virtual CodeGroup Copy(); | |
protected virtual void CreateXml(SecurityElement element, PolicyLevel level); | |
public virtual Boolean Equals(Object o); | |
public virtual Int32 GetHashCode(); | |
protected virtual void ParseXml(SecurityElement e, PolicyLevel level); | |
public virtual PolicyStatement Resolve(Evidence evidence); | |
public virtual CodeGroup ResolveMatchingCodeGroups(Evidence evidence); |
public sealed class FirstMatchCodeGroup | |
: CodeGroup | |
public virtual String MergeLogic { get; } | |
public virtual CodeGroup Copy(); | |
public virtual PolicyStatement Resolve(Evidence evidence); | |
public virtual CodeGroup ResolveMatchingCodeGroups(Evidence evidence); |
public sealed class GacInstalled | |
: EvidenceBase, IIdentityPermissionFactory | |
public virtual EvidenceBase Clone(); | |
public Object Copy(); | |
public virtual IPermission CreateIdentityPermission(Evidence evidence); | |
public virtual Boolean Equals(Object o); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); |
public sealed class GacMembershipCondition | |
: IConstantMembershipCondition, IReportMatchMembershipCondition, IMembershipCondition, ISecurityEncodable, ISecurityPolicyEncodable | |
public virtual Boolean Check(Evidence evidence); | |
public virtual IMembershipCondition Copy(); | |
public virtual Boolean Equals(Object o); | |
public virtual void FromXml(SecurityElement e); | |
public virtual void FromXml(SecurityElement e, PolicyLevel level); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); | |
public virtual SecurityElement ToXml(); | |
public virtual SecurityElement ToXml(PolicyLevel level); |
public sealed class Hash | |
: EvidenceBase, ISerializable | |
public Byte MD5 { get; } | |
public Byte SHA1 { get; } | |
public Byte SHA256 { get; } | |
public virtual EvidenceBase Clone(); | |
static public Hash CreateMD5(Byte md5); | |
static public Hash CreateSHA1(Byte sha1); | |
static public Hash CreateSHA256(Byte sha256); | |
public Byte GenerateHash(HashAlgorithm hashAlg); | |
public virtual void GetObjectData(SerializationInfo info, StreamingContext context); | |
public virtual String ToString(); |
public sealed class HashMembershipCondition | |
: ISerializable, IDeserializationCallback, IReportMatchMembershipCondition, IMembershipCondition, ISecurityEncodable, ISecurityPolicyEncodable | |
public HashAlgorithm HashAlgorithm { get; set; } | |
public Byte HashValue { get; set; } | |
public virtual Boolean Check(Evidence evidence); | |
public virtual IMembershipCondition Copy(); | |
public virtual Boolean Equals(Object o); | |
public virtual void FromXml(SecurityElement e); | |
public virtual void FromXml(SecurityElement e, PolicyLevel level); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); | |
public virtual SecurityElement ToXml(); | |
public virtual SecurityElement ToXml(PolicyLevel level); |
public abstract interface IApplicationTrustManager | |
: ISecurityEncodable | |
public abstract virtual ApplicationTrust DetermineApplicationTrust(ActivationContext activationContext, TrustManagerContext context); |
public abstract interface IIdentityPermissionFactory | |
public abstract virtual IPermission CreateIdentityPermission(Evidence evidence); |
public abstract interface IMembershipCondition | |
: ISecurityEncodable, ISecurityPolicyEncodable | |
public abstract virtual Boolean Check(Evidence evidence); | |
public abstract virtual IMembershipCondition Copy(); | |
public abstract virtual Boolean Equals(Object obj); | |
public abstract virtual String ToString(); |
sealed enum EvidenceLockHolder | |
: IComparable, IFormattable, IConvertible | |
{ Reader, Writer } |
public sealed class NetCodeGroup | |
: CodeGroup, IUnionSemanticCodeGroup | |
public virtual String AttributeString { get; } | |
public virtual String MergeLogic { get; } | |
public virtual String PermissionSetName { get; } | |
public void AddConnectAccess(String originScheme, CodeConnectAccess connectAccess); | |
public virtual CodeGroup Copy(); | |
protected virtual void CreateXml(SecurityElement element, PolicyLevel level); | |
public virtual Boolean Equals(Object o); | |
public DictionaryEntry GetConnectAccessRules(); | |
public virtual Int32 GetHashCode(); | |
protected virtual void ParseXml(SecurityElement e, PolicyLevel level); | |
public void ResetConnectAccess(); | |
public virtual PolicyStatement Resolve(Evidence evidence); | |
public virtual CodeGroup ResolveMatchingCodeGroups(Evidence evidence); |
public sealed class PermissionRequestEvidence | |
: EvidenceBase | |
public PermissionSet DeniedPermissions { get; } | |
public PermissionSet OptionalPermissions { get; } | |
public PermissionSet RequestedPermissions { get; } | |
public virtual EvidenceBase Clone(); | |
public PermissionRequestEvidence Copy(); | |
public virtual String ToString(); |
public class PolicyException | |
: SystemException, ISerializable, _Exception |
public sealed class PolicyLevel | |
public IList FullTrustAssemblies { get; } | |
public String Label { get; } | |
public IList NamedPermissionSets { get; } | |
public CodeGroup RootCodeGroup { get; set; } | |
public String StoreLocation { get; } | |
public PolicyLevelType Type { get; } | |
public void AddFullTrustAssembly(StrongName sn); | |
public void AddFullTrustAssembly(StrongNameMembershipCondition snMC); | |
public void AddNamedPermissionSet(NamedPermissionSet permSet); | |
public NamedPermissionSet ChangeNamedPermissionSet(String name, PermissionSet pSet); | |
static public PolicyLevel CreateAppDomainLevel(); | |
public void FromXml(SecurityElement e); | |
public NamedPermissionSet GetNamedPermissionSet(String name); | |
public void Recover(); | |
public void RemoveFullTrustAssembly(StrongName sn); | |
public void RemoveFullTrustAssembly(StrongNameMembershipCondition snMC); | |
public NamedPermissionSet RemoveNamedPermissionSet(NamedPermissionSet permSet); | |
public NamedPermissionSet RemoveNamedPermissionSet(String name); | |
public void Reset(); | |
public PolicyStatement Resolve(Evidence evidence); | |
public CodeGroup ResolveMatchingCodeGroups(Evidence evidence); | |
public SecurityElement ToXml(); |
public sealed class PolicyStatement | |
: ISecurityPolicyEncodable, ISecurityEncodable | |
public PolicyStatementAttribute Attributes { get; set; } | |
public String AttributeString { get; } | |
public PermissionSet PermissionSet { get; set; } | |
public PolicyStatement Copy(); | |
public virtual Boolean Equals(Object obj); | |
public virtual void FromXml(SecurityElement et); | |
public virtual void FromXml(SecurityElement et, PolicyLevel level); | |
public virtual Int32 GetHashCode(); | |
public virtual SecurityElement ToXml(); | |
public virtual SecurityElement ToXml(PolicyLevel level); |
public sealed enum PolicyStatementAttribute | |
: IComparable, IFormattable, IConvertible | |
{ Nothing, Exclusive, LevelFinal, All } |
public sealed class Publisher | |
: EvidenceBase, IIdentityPermissionFactory | |
public X509Certificate Certificate { get; } | |
public virtual EvidenceBase Clone(); | |
public Object Copy(); | |
public virtual IPermission CreateIdentityPermission(Evidence evidence); | |
public virtual Boolean Equals(Object o); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); |
public sealed class PublisherMembershipCondition | |
: IConstantMembershipCondition, IReportMatchMembershipCondition, IMembershipCondition, ISecurityEncodable, ISecurityPolicyEncodable | |
public X509Certificate Certificate { get; set; } | |
public virtual Boolean Check(Evidence evidence); | |
public virtual IMembershipCondition Copy(); | |
public virtual Boolean Equals(Object o); | |
public virtual void FromXml(SecurityElement e); | |
public virtual void FromXml(SecurityElement e, PolicyLevel level); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); | |
public virtual SecurityElement ToXml(); | |
public virtual SecurityElement ToXml(PolicyLevel level); |
public sealed class Site | |
: EvidenceBase, IIdentityPermissionFactory | |
public String Name { get; } | |
public virtual EvidenceBase Clone(); | |
public Object Copy(); | |
static public Site CreateFromUrl(String url); | |
public virtual IPermission CreateIdentityPermission(Evidence evidence); | |
public virtual Boolean Equals(Object o); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); |
public sealed class SiteMembershipCondition | |
: IConstantMembershipCondition, IReportMatchMembershipCondition, IMembershipCondition, ISecurityEncodable, ISecurityPolicyEncodable | |
public String Site { get; set; } | |
public virtual Boolean Check(Evidence evidence); | |
public virtual IMembershipCondition Copy(); | |
public virtual Boolean Equals(Object o); | |
public virtual void FromXml(SecurityElement e); | |
public virtual void FromXml(SecurityElement e, PolicyLevel level); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); | |
public virtual SecurityElement ToXml(); | |
public virtual SecurityElement ToXml(PolicyLevel level); |
public sealed class StrongName | |
: EvidenceBase, IIdentityPermissionFactory, IDelayEvaluatedEvidence | |
public String Name { get; } | |
public StrongNamePublicKeyBlob PublicKey { get; } | |
public Version Version { get; } | |
public virtual EvidenceBase Clone(); | |
public Object Copy(); | |
public virtual IPermission CreateIdentityPermission(Evidence evidence); | |
public virtual Boolean Equals(Object o); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); |
public sealed class StrongNameMembershipCondition | |
: IConstantMembershipCondition, IReportMatchMembershipCondition, IMembershipCondition, ISecurityEncodable, ISecurityPolicyEncodable | |
public String Name { get; set; } | |
public StrongNamePublicKeyBlob PublicKey { get; set; } | |
public Version Version { get; set; } | |
public virtual Boolean Check(Evidence evidence); | |
public virtual IMembershipCondition Copy(); | |
public virtual Boolean Equals(Object o); | |
public virtual void FromXml(SecurityElement e); | |
public virtual void FromXml(SecurityElement e, PolicyLevel level); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); | |
public virtual SecurityElement ToXml(); | |
public virtual SecurityElement ToXml(PolicyLevel level); |
public class TrustManagerContext | |
public virtual Boolean IgnorePersistedDecision { get; set; } | |
public virtual Boolean KeepAlive { get; set; } | |
public virtual Boolean NoPrompt { get; set; } | |
public virtual Boolean Persist { get; set; } | |
public virtual ApplicationIdentity PreviousApplicationIdentity { get; set; } | |
public virtual TrustManagerUIContext UIContext { get; set; } |
public sealed enum TrustManagerUIContext | |
: IComparable, IFormattable, IConvertible | |
{ Install, Upgrade, Run } |
public sealed class UnionCodeGroup | |
: CodeGroup, IUnionSemanticCodeGroup | |
public virtual String MergeLogic { get; } | |
public virtual CodeGroup Copy(); | |
public virtual PolicyStatement Resolve(Evidence evidence); | |
public virtual CodeGroup ResolveMatchingCodeGroups(Evidence evidence); |
public sealed class Url | |
: EvidenceBase, IIdentityPermissionFactory | |
public String Value { get; } | |
public virtual EvidenceBase Clone(); | |
public Object Copy(); | |
public virtual IPermission CreateIdentityPermission(Evidence evidence); | |
public virtual Boolean Equals(Object o); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); |
public sealed class UrlMembershipCondition | |
: IConstantMembershipCondition, IReportMatchMembershipCondition, IMembershipCondition, ISecurityEncodable, ISecurityPolicyEncodable | |
public String Url { get; set; } | |
public virtual Boolean Check(Evidence evidence); | |
public virtual IMembershipCondition Copy(); | |
public virtual Boolean Equals(Object o); | |
public virtual void FromXml(SecurityElement e, PolicyLevel level); | |
public virtual void FromXml(SecurityElement e); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); | |
public virtual SecurityElement ToXml(); | |
public virtual SecurityElement ToXml(PolicyLevel level); |
public sealed class Zone | |
: EvidenceBase, IIdentityPermissionFactory | |
public SecurityZone SecurityZone { get; } | |
public virtual EvidenceBase Clone(); | |
public Object Copy(); | |
static public Zone CreateFromUrl(String url); | |
public virtual IPermission CreateIdentityPermission(Evidence evidence); | |
public virtual Boolean Equals(Object o); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); |
public sealed class ZoneMembershipCondition | |
: IConstantMembershipCondition, IReportMatchMembershipCondition, IMembershipCondition, ISecurityEncodable, ISecurityPolicyEncodable | |
public SecurityZone SecurityZone { get; set; } | |
public virtual Boolean Check(Evidence evidence); | |
public virtual IMembershipCondition Copy(); | |
public virtual Boolean Equals(Object o); | |
public virtual void FromXml(SecurityElement e); | |
public virtual void FromXml(SecurityElement e, PolicyLevel level); | |
public virtual Int32 GetHashCode(); | |
public virtual String ToString(); | |
public virtual SecurityElement ToXml(); | |
public virtual SecurityElement ToXml(PolicyLevel level); |