System.Net.SSPISecureChannelType.QueryContextChannelBinding C# (CSharp) Method

QueryContextChannelBinding() public method

public QueryContextChannelBinding ( SafeDeleteContext phContext, System.Net.Interop attribute, SafeFreeContextBufferChannelBinding &refHandle ) : int
phContext SafeDeleteContext
attribute System.Net.Interop
refHandle SafeFreeContextBufferChannelBinding
return int
        public unsafe int QueryContextChannelBinding(SafeDeleteContext phContext, Interop.SspiCli.ContextAttribute attribute, out SafeFreeContextBufferChannelBinding refHandle)
        {
            refHandle = SafeFreeContextBufferChannelBinding.CreateEmptyHandle();

            // Bindings is on the stack, so there's no need for a fixed block.
            SecPkgContext_Bindings bindings = new SecPkgContext_Bindings();
            return SafeFreeContextBufferChannelBinding.QueryContextChannelBinding(phContext, attribute, &bindings, refHandle);
        }