[VB6 equivalent: RNG_Bytes]
Dim abData() As Byte Dim nDataLen As Integer nDataLen = 16 abData = Rng.Bytes(nDataLen) Console.WriteLine(Cnv.ToHex(abData))
See Also:
Rng.Bytes Method (Int32)
Rng.Bytes Method (Int32, Byte)
Rng.Bytes Method (Int32, String)