extern static /* SSLContextRef */ IntPtr SSLCreateContext(/* CFAllocatorRef */ IntPtr alloc, SslProtocolSide protocolSide, SslConnectionType connectionType);
public SslContext(SslProtocolSide protocolSide, SslConnectionType connectionType) : base(SSLCreateContext(IntPtr.Zero, protocolSide, connectionType), true) { }
public SslContext(SslProtocolSide protocolSide, SslConnectionType connectionType) { Handle = SSLCreateContext(IntPtr.Zero, protocolSide, connectionType); }
static extern IntPtr SSLCreateContext(/* CFAllocatorRef */ IntPtr alloc, SslProtocolSide protocolSide, SslConnectionType connectionType);