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!

IEvidenceFactory Interface

Objects that provide evidence to policy use the IEvidenceFactory interface to do so. Both AppDomain and Assembly implement the interface.

Application code should have no need to implement this interface.

AppDomain provides the evidence associated with the domain by its host at creation; Assembly returns assembly evidence if any as well as evidence for valid signatures such as software publisher and strong names.

IEvidenceFactory

IEvidenceFactory

[Visual Basic]
Public Interface IEvidenceFactory
[C#]
public interface IEvidenceFactory
[C++]
public __gc __interface IEvidenceFactory

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

Classes that Implement IEvidenceFactory

Class Description
AppDomain The NGWS runtime allows multiple applications to run in a single process. Application domains are used to isolate the applications from one another. The AppDomain class provides methods that let NGWS runtime hosts perform the following tasks:
  • Enumerate the assemblies and threads in a domain.
  • Define dynamic assemblies in a domain.
  • Set events assembly loading and domain termination.
  • Load assemblies and types into the domain.
  • Terminate the domain.
Assembly An Assembly, that is a reusable, versionable, and self-describing building block of a NGWS application. Assemblies provide the infrastructure needed to allow NGWS runtime to fully understand the contents of an application and to enforce the versioning and dependency rules defined by the application. These concepts are crucial for solving the versioning problem and for simplifying the deployment of NGWS runtime applications.

Remarks

Property returns evidence set from the object.

Requirements

Namespace: System.Security

Assembly: mscorlib.dll

See Also

IEvidenceFactory Members | System.Security Namespace