OpenSSL.Core.BIO.File C# (CSharp) Method

File() public static method

Factory method that calls BIO_new_file()
public static File ( string filename, string mode ) : BIO
filename string
mode string
return BIO
		public static BIO File(string filename, string mode)
		{
			IntPtr ptr = Native.ExpectNonNull(Native.BIO_new_file(filename, mode));
			return new BIO(ptr, true);
		}