System.Security.CodeAccessSecurityEngine.QuickCheckForAllDemands C# (CSharp) Method

QuickCheckForAllDemands() private method

private QuickCheckForAllDemands ( ) : bool
return bool
        internal static extern bool QuickCheckForAllDemands();
        [MethodImplAttribute(MethodImplOptions.InternalCall)]

Usage Example

Example #1
0
 public static bool CurrentThreadRequiresSecurityContextCapture()
 {
     // If we know that the thread is not made up of entirely full trust code, and that there are no
     // security stack modifiers on the thread, then there is no need to capture a security context.
     return(!CodeAccessSecurityEngine.QuickCheckForAllDemands());
 }
All Usage Examples Of System.Security.CodeAccessSecurityEngine::QuickCheckForAllDemands