BIO_new_file() 개인적인 메소드

private BIO_new_file ( string filename, string mode ) : IntPtr
filename string
mode string
리턴 System.IntPtr
예제 #1
0
        /// <summary>
        /// Factory method that calls BIO_new_file()
        /// </summary>
        /// <param name="filename"></param>
        /// <param name="mode"></param>
        /// <returns></returns>
        public static BIO File(string filename, string mode)
        {
            var ptr = Native.ExpectNonNull(Native.BIO_new_file(filename, mode));

            return(new BIO(ptr, true));
        }