RAND_seed() приватный Метод

private RAND_seed ( byte buf, int len ) : void
buf byte
len int
Результат void
Пример #1
0
 /// <summary>
 /// Calls RAND_seed()
 /// </summary>
 /// <param name="seed"></param>
 public static void Seed(string seed)
 {
     byte[] tmp = Encoding.ASCII.GetBytes(seed);
     Native.RAND_seed(tmp, tmp.Length);
 }
Пример #2
0
 /// <summary>
 /// Calls RAND_seed()
 /// </summary>
 /// <param name="seed"></param>
 public static void Seed(byte[] seed)
 {
     Native.RAND_seed(seed, seed.Length);
 }