/*************************************************************************** * * CurlS#arp * * Copyright (c) 2013 Dr. Masroor Ehsan (masroore@gmail.com) * Portions copyright (c) 2004, 2005 Jeff Phillips (jeff@jeffp.net) * * This software is licensed as described in the file LICENSE, which you * should have received as part of this distribution. * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of this Software, and permit persons to whom the Software is * furnished to do so, under the terms of the LICENSE file. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF * ANY KIND, either express or implied. * **************************************************************************/ using System; namespace CurlSharp { /// /// An instance of this class is passed to the delegate /// , if it's implemented. /// Within that delegate, the code will have to make native calls to /// the OpenSSL library with the value returned from the /// property cast to an /// SSL_CTX pointer. /// public sealed class CurlSslContext { private readonly IntPtr _pvContext; internal CurlSslContext(IntPtr pvContext) { _pvContext = pvContext; } /// /// Get the underlying OpenSSL context. /// public IntPtr Context { get { return _pvContext; } } } }