NextBytes(Int32) Method
See Also 
SourceCode.Security.Cryptography Namespace > CryptoRandom Class > NextBytes Method : NextBytes(Int32) Method



length

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Overloads Function NextBytes( _
   ByVal length As Integer _
) As Byte()
Visual Basic (Usage) Copy Code
Dim instance As CryptoRandom
Dim length As Integer
Dim value() As Byte
 
value = instance.NextBytes(length)
C#  
public byte[] NextBytes( 
   int length
)
C++/CLI  
public:
array<byte>^ NextBytes( 
   int length
) 

Parameters

length

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also