#### [Abblix\.Utils](https://www.abblix.com/en/docs/api/abblix-utils 'index')
### [Abblix\.Utils](https://www.abblix.com/en/docs/api/abblix-utils/Abblix.Utils 'Abblix\.Utils')

## CryptoRandom Class

Provides cryptographic random number generation\.

```csharp
public static class CryptoRandom
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → CryptoRandom
### Methods

## CryptoRandom\.GetRandomBytes\(int\) Method {#Abblix.Utils.CryptoRandom.GetRandomBytes(int)}

Generates a specified number of random bytes\.

```csharp
public static byte[] GetRandomBytes(int count);
```
#### Parameters

###### `count` [System\.Int32](https://learn.microsoft.com/en-us/dotnet/api/system.int32 'System\.Int32') {#Abblix.Utils.CryptoRandom.GetRandomBytes(int).count}

The number of random bytes to generate\.

#### Returns
[System\.Byte](https://learn.microsoft.com/en-us/dotnet/api/system.byte 'System\.Byte')[\[\]](https://learn.microsoft.com/en-us/dotnet/api/system.array 'System\.Array')  
An array of bytes filled with cryptographically strong random values\.
