Interop.Windows.Sni.ISniNativeMethods
interface ISniNativeMethods
uint SniGetMaxComposedSpnLength()
uint SniGetPeerAddrStrWrapper(SNIHandle pConn, int bufferSize, StringBuilder addrBuffer, out uint addrLength)
uint SniOpenWrapper(ref SniConsumerInfo pConsumerInfo, string connect, SNIHandle pConn, out IntPtr ppConn, bool fSync, SqlConnectionIPAddressPreference ipPreference, ref SniDnsCacheInfo pDnsCacheInfo)
uint SniPacketGetDataWrapper(IntPtr packet, byte[] readBuffer, uint readBufferLength, out uint dataSize)
uint SniSecGenClientContextWrapper(SNIHandle pConn, Byte* pIn, uint cbIn, Byte* pOut, ref uint pcbOut, out bool pfDone, Byte* szServerInfo, uint cbServerInfo, string pwszUserName, string pwszPassword)
IntPtr SniServerEnumOpen()
uint SniTerminate()
uint SniWaitForSslHandshakeToComplete(SNIHandle pConn, int dwMilliseconds, out SniSslProtocols pProtocolVersion)