System.Security.SecurityContext.IsFlowSuppressed C# (CSharp) Method

IsFlowSuppressed() public static method

public static IsFlowSuppressed ( ) : bool
return bool
    public static bool IsFlowSuppressed() { throw null; }
    public static bool IsWindowsIdentityFlowSuppressed() { throw null; }

Usage Example

Example #1
0
 /// <summary>确定是否已取消当前安全上下文的 Windows 标识部分的流动。</summary>
 /// <returns>如果已取消流动,则为 true;否则为 false。</returns>
 public static bool IsWindowsIdentityFlowSuppressed()
 {
     if (!SecurityContext._LegacyImpersonationPolicy)
     {
         return(SecurityContext.IsFlowSuppressed(SecurityContextDisableFlow.WI));
     }
     return(true);
 }
All Usage Examples Of System.Security.SecurityContext::IsFlowSuppressed