示例#1
0
 extern static /* SSLContextRef */ IntPtr SSLCreateContext(/* CFAllocatorRef */ IntPtr alloc, SslProtocolSide protocolSide, SslConnectionType connectionType);
示例#2
0
 public SslContext(SslProtocolSide protocolSide, SslConnectionType connectionType)
     : base(SSLCreateContext(IntPtr.Zero, protocolSide, connectionType), true)
 {
 }
示例#3
0
 public SslContext(SslProtocolSide protocolSide, SslConnectionType connectionType)
 {
     Handle = SSLCreateContext(IntPtr.Zero, protocolSide, connectionType);
 }
示例#4
0
 static extern IntPtr SSLCreateContext(/* CFAllocatorRef */ IntPtr alloc, SslProtocolSide protocolSide, SslConnectionType connectionType);