private static uint SNIGetInfoWrapper([In] SNIHandle pConn, SNINativeMethodWrapper.QTypes QType, out ProviderEnum provNum) { return(s_is64bitProcess ? SNINativeManagedWrapperX64.SNIGetInfoWrapper(pConn, QType, out provNum) : SNINativeManagedWrapperX86.SNIGetInfoWrapper(pConn, QType, out provNum)); }
internal static extern uint SNIGetPeerAddrStrWrapper([In] SNIHandle pConn, int bufferSize, StringBuilder addrBuffer, out uint addrLen);
internal static extern uint SNIAddProvider(SNIHandle pConn, ProviderEnum ProvNum, [In] ref uint pInfo);
internal static extern uint SNIWaitForSSLHandshakeToComplete([In] SNIHandle pConn, int dwMilliseconds, out uint pProtocolVersion);
internal static extern uint SNIGetInfoWrapper([In] SNIHandle pConn, SNINativeMethodWrapper.QTypes QType, ref IntPtr pbQInfo);
internal static extern uint SNIReadAsync(SNIHandle pConn, ref IntPtr ppNewPacket);
internal static extern uint SNIRemoveProvider(SNIHandle pConn, ProviderEnum ProvNum);
internal static uint SNIRemoveProvider(SNIHandle pConn, ProviderEnum ProvNum) { return(s_is64bitProcess ? SNINativeManagedWrapperX64.SNIRemoveProvider(pConn, ProvNum) : SNINativeManagedWrapperX86.SNIRemoveProvider(pConn, ProvNum)); }
internal static uint SNISetInfo(SNIHandle pConn, QTypes QType, [In] ref uint pbQInfo) { return(s_is64bitProcess ? SNINativeManagedWrapperX64.SNISetInfo(pConn, QType, ref pbQInfo) : SNINativeManagedWrapperX86.SNISetInfo(pConn, QType, ref pbQInfo)); }
internal static uint SNICheckConnection([In] SNIHandle pConn) { return(s_is64bitProcess ? SNINativeManagedWrapperX64.SNICheckConnection(pConn) : SNINativeManagedWrapperX86.SNICheckConnection(pConn)); }
internal static uint SNIReadSyncOverAsync(SNIHandle pConn, ref IntPtr ppNewPacket, int timeout) { return(s_is64bitProcess ? SNINativeManagedWrapperX64.SNIReadSyncOverAsync(pConn, ref ppNewPacket, timeout) : SNINativeManagedWrapperX86.SNIReadSyncOverAsync(pConn, ref ppNewPacket, timeout)); }
internal static uint SNIAddProviderWrapper(SNIHandle pConn, ProviderEnum ProvNum, [In] ref AuthProviderInfo pInfo) { return(s_is64bitProcess ? SNINativeManagedWrapperX64.SNIAddProviderWrapper(pConn, ProvNum, ref pInfo) : SNINativeManagedWrapperX86.SNIAddProviderWrapper(pConn, ProvNum, ref pInfo)); }
internal static uint SniGetConnectionPort(SNIHandle pConn, ref ushort portNum) { return(SNIGetInfoWrapper(pConn, QTypes.SNI_QUERY_CONN_PEERPORT, out portNum)); }
internal static uint SniGetProviderNumber(SNIHandle pConn, ref ProviderEnum provNum) { return(SNIGetInfoWrapper(pConn, QTypes.SNI_QUERY_CONN_PROVIDERNUM, out provNum)); }
internal static extern uint SNIAddProviderWrapper(SNIHandle pConn, ProviderEnum ProvNum, [In] ref AuthProviderInfo pInfo);
internal static uint SNIWaitForSSLHandshakeToComplete([In] SNIHandle pConn, int dwMilliseconds) { return(s_is64bitProcess ? SNINativeManagedWrapperX64.SNIWaitForSSLHandshakeToComplete(pConn, dwMilliseconds) : SNINativeManagedWrapperX86.SNIWaitForSSLHandshakeToComplete(pConn, dwMilliseconds)); }
internal static extern void SNIPacketReset([In] SNIHandle pConn, IOType IOType, SNIPacket pPacket, ConsumerNumber ConsNum);
private static uint SNIGetInfoWrapper([In] SNIHandle pConn, SNINativeMethodWrapper.QTypes QType, [MarshalAs(UnmanagedType.Bool)] out bool pbQInfo) { return(s_is64bitProcess ? SNINativeManagedWrapperX64.SNIGetInfoWrapper(pConn, QType, out pbQInfo) : SNINativeManagedWrapperX86.SNIGetInfoWrapper(pConn, QType, out pbQInfo)); }
internal static extern uint SNIReadSyncOverAsync(SNIHandle pConn, ref IntPtr ppNewPacket, int timeout);
private static uint SNIGetInfoWrapper([In] SNIHandle pConn, SNINativeMethodWrapper.QTypes QType, ref IntPtr pbQInfo) { return(s_is64bitProcess ? SNINativeManagedWrapperX64.SNIGetInfoWrapper(pConn, QType, ref pbQInfo) : SNINativeManagedWrapperX86.SNIGetInfoWrapper(pConn, QType, ref pbQInfo)); }
internal static extern uint SNISetInfo(SNIHandle pConn, QTypes QType, [In] ref uint pbQInfo);
private static uint SNIWriteSyncOverAsync(SNIHandle pConn, [In] SNIPacket pPacket) { return(s_is64bitProcess ? SNINativeManagedWrapperX64.SNIWriteSyncOverAsync(pConn, pPacket) : SNINativeManagedWrapperX86.SNIWriteSyncOverAsync(pConn, pPacket)); }
internal static extern uint SNIGetInfoWrapper([In] SNIHandle pConn, SNINativeMethodWrapper.QTypes QType, [MarshalAs(UnmanagedType.Bool)] out bool pbQInfo);
internal static uint SniGetConnectionId(SNIHandle pConn, ref Guid connId) { return(SNIGetInfoWrapper(pConn, QTypes.SNI_QUERY_CONN_CONNID, out connId)); }
internal static extern uint SNIGetInfoWrapper([In] SNIHandle pConn, SNINativeMethodWrapper.QTypes QType, out ushort portNum);
internal static extern uint SNIWriteAsyncWrapper(SNIHandle pConn, [In] SNIPacket pPacket);
internal static extern uint SNIGetInfoWrapper([In] SNIHandle pConn, SNINativeMethodWrapper.QTypes QType, out ProviderEnum provNum);
internal static extern uint SNIWriteSyncOverAsync(SNIHandle pConn, [In] SNIPacket pPacket);
internal static extern uint SNICheckConnection([In] SNIHandle pConn);
private static uint SNIGetPeerAddrStrWrapper([In] SNIHandle pConn, int bufferSize, StringBuilder addrBuffer, out uint addrLen) { return(s_is64bitProcess ? SNINativeManagedWrapperX64.SNIGetPeerAddrStrWrapper(pConn, bufferSize, addrBuffer, out addrLen) : SNINativeManagedWrapperX86.SNIGetPeerAddrStrWrapper(pConn, bufferSize, addrBuffer, out addrLen)); }