title: Equivalent of /dev/urandom on Windows?
body: <p>My application would like to get a random number, preferably with entropy if available, but does not need cryptographic quality, and would like to do ensure that the call does not block if the system entropy pool is depleted (e.g. on a server in a farm). </p>
  
  <p>I am aware of <strong><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa379942(v=vs.85).aspx" rel="nofollow noreferrer">CryptGenRandom</a></strong>, but its behaviour with respect to blocking under adverse entropy conditions is not specified. </p>
  
  <p>On Unix, <code>/dev/urandom</code> supports this use case. Is there equivalent functionality available on Windows? I would prefer to avoid using a non-system RNG simply to get non-blocking semantics.</p>