Beispiel #1
0
 private IRandom genRandom()
 {
     if (random == null)
     {
         try {
             Type t = Type.GetType(jsch.getConfig("random"));
             random = (IRandom)Activator.CreateInstance(t);
         }
         catch (Exception e) {
             Console.Error.WriteLine("connect: random " + e);
         }
     }
     return(random);
 }