QuickCheckForAllDemands() 개인적인 메소드

private QuickCheckForAllDemands ( ) : bool
리턴 bool
예제 #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());
 }
예제 #2
0
 public static bool CurrentThreadRequiresSecurityContextCapture()
 {
     return(!CodeAccessSecurityEngine.QuickCheckForAllDemands());
 }