Goedel.Cryptography.CryptoCatalog.GetBytes C# (CSharp) Method

GetBytes() public static method

Returns a byte array with the specified number of random bytes.
public static GetBytes ( int Bytes ) : byte[]
Bytes int Number of bytes
return byte[]
        public static byte[] GetBytes(int Bytes) {
            var Data = new byte[Bytes];
            RNGCryptoServiceProvider.GetBytes(Data);
            return Data;
            }