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.
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:
|
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. |
Property returns evidence set from the object.
Namespace: System.Security
Assembly: mscorlib.dll