System.Net.SSPIWrapper.QueryContextAttributes C# (CSharp) Method

QueryContextAttributes() public static method

public static QueryContextAttributes ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext securityContext, System.Net.Interop contextAttribute ) : object
secModule System.Net.Security.SSPIInterface
securityContext SafeDeleteContext
contextAttribute System.Net.Interop
return object
        public static object QueryContextAttributes(SSPIInterface secModule, SafeDeleteContext securityContext, Interop.SspiCli.ContextAttribute contextAttribute)
        {
            int errorCode;
            return QueryContextAttributes(secModule, securityContext, contextAttribute, out errorCode);
        }

Same methods

SSPIWrapper::QueryContextAttributes ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext securityContext, System.Net.Interop contextAttribute, int &errorCode ) : object

Usage Example

 public static void QueryContextStreamSizes(SafeDeleteContext securityContext, out StreamSizes streamSizes)
 {
     streamSizes = SSPIWrapper.QueryContextAttributes(
         GlobalSSPI.SSPISecureChannel,
         securityContext,
         Interop.SspiCli.ContextAttribute.StreamSizes) as StreamSizes;
 }
All Usage Examples Of System.Net.SSPIWrapper::QueryContextAttributes