OpenSSL.Core.Native.RAND_load_file C# (CSharp) Method

RAND_load_file() private method

private RAND_load_file ( string file, int max_bytes ) : int
file string
max_bytes int
return int
        public static extern int RAND_load_file(string file, int max_bytes);

Usage Example

Example #1
0
 /// <summary>
 /// Calls RAND_load_file()
 /// </summary>
 /// <param name="filename"></param>
 /// <param name="max_bytes"></param>
 public static void LoadFile(string filename, int max_bytes)
 {
     Native.ExpectSuccess(Native.RAND_load_file(filename, max_bytes));
 }
Native