yoursyun

난수 생성 본문

program/c#

난수 생성

yoursyun 2015. 4. 3. 11:41

byte[] r = new byte[100];

 

System.Security.Cryptography.RNGCryptoServiceProvider rng
                = new System.Security.Cryptography.RNGCryptoServiceProvider();

 

rng.GetBytes(r);

반응형