Determines whether the membership condition is satisfied by the specified evidence.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Security.Policy.Evidence
The evidence set against which to make the test.
Return ValueType: System.Boolean
true if the specified evidence satisfies the membership condition; otherwise, false.
The evidence parameter must contain both ApplicationDirectory evidence that specifies the application directory of the running application and Url evidence that specifies the code base of the assembly. The code base specified by the Url evidence must represent a path in the directory tree of the application directory specified by the ApplicationDirectory evidence for this method to return true.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.