For Type - ask for the name of type (e.g. "System.String") and show information about the evidence
For Assembly - ask for the name of assembly file (using OpenFileDialog) and show information about the evidence
[Hints: Evidence: GetEnumerator;
do not list System.Security.Policy.Hash type]
Security Manager
PolicyHierarchy - read names of existing policy hierarchies, add one menu items per hierarchy; show information about the hierarchy
[Hints: SecurityManager.PolicyHierarchy; PolicyLevel; NamedPermissionSet]
ResolvePolicyGroups
For Type - ask for the name of type (e.g. "System.String") and show information about its policy groups
For Assembly - ask for the name of assembly file (using OpenFileDialog) and show information about its policy groups
[Hints: SecurityManager.ResolvePolicyGroups; CodeGroup]
Hint for enumerations:
Array allValues = Enum.GetValues( typeof( <name_of_enumeration_type> ));
foreach ( object v in allValues ) {
...
}
Approximate points:
User interface (also asking for an assembly and name of type): 2.0