/// <summary> /// Set the seed for all random number generators created based on the current system time. This /// method should be called before any random number instances are created. /// </summary> /// <returns>True if the seed is successfully set, false otherwise</returns> public static bool SetSeed() { return(RngStream.setPackageSeed()); }
/// <summary> /// Set the seed for all random number generators created. This method should be called /// before any random number instances are created. /// </summary> /// <param name="SeedVal">The seed value</param> /// <returns>True if the seed is successfully set, false otherwise</returns> public static bool SetSeed(long SeedVal) { return(RngStream.setPackageSeed(SeedVal)); }