NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IMembershipCondition Interface

This interface is implemented by all membership conditions.

A membership condition is associated with a code group in security policy and defines the test to determine if a given code assembly is a member of the code group or not.

[Visual Basic]
Public Interface IMembershipCondition
   Implements ISecurityEncodable, ISecurityPolicyEncodable
[C#]
public interface IMembershipCondition : ISecurityEncodable,
   ISecurityPolicyEncodable
[C++]
public __gc __interface IMembershipCondition : public
   ISecurityEncodable, ISecurityPolicyEncodable

[JScript] In JScript, you can use the interfaces in the NGWS frameworks, but you cannot define your own.

Classes that Implement IMembershipCondition

Class Description
AllMembershipCondition Membership condition that matches all code.
ApplicationDirectoryMembershipCondition Membership condition tests if the assembly is within the application directory or not.
HashMembershipCondition Membership condition that matches only a certain assembly with specified hash code.
PublisherMembershipCondition Security policy membership condition based on software publisher certificate.
SiteMembershipCondition Security policy membership condition based on site of origin.
SkipVerificationMembershipCondition [To be supplied.]
StrongNameMembershipCondition Security policy membership condition based on strong name.
URLMembershipCondition Membership condition for security policy- code belongs to the group if it matches the specified URL.
ZoneMembershipCondition Security policy membership condition based on zone of origin.

Remarks

[To be supplied.]

Requirements

Namespace: System.Security.Policy

Assembly: mscorlib.dll

See Also

IMembershipCondition Members | System.Security.Policy Namespace