System.Security.Cryptography.RNGCryptoServiceProvider.RNGCryptoServiceProvider.GetBytes C# (CSharp) Метод

GetBytes() публичный Метод

public GetBytes ( byte data ) : void
data byte
Результат void
		public override void GetBytes (byte[] data) 
		{
			if (data == null)
				throw new ArgumentNullException ("data");

			if (_lock == null) {
				_handle = RngGetBytes (_handle, data);
			} else {
				// using a global handle for randomness
				lock (_lock) {
					_handle = RngGetBytes (_handle, data);
				}
			}
			Check ();
		}