# GetRandomBytes Method Generates a new byte array of the specified length with random values. ## Definition **Namespace:** CapyKit.Helpers **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# private static byte[] GetRandomBytes( int length ) ``` **F#** ``` F# private static member GetRandomBytes : length : int -> byte[] ``` #### Parameters