NextLong(Int64) Method
See Also 
SourceCode.Security.Cryptography Namespace > CryptoRandom Class > NextLong Method : NextLong(Int64) Method



max

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Overloads Function NextLong( _
   ByVal max As Long _
) As Long
Visual Basic (Usage) Copy Code
Dim instance As CryptoRandom
Dim max As Long
Dim value As Long
 
value = instance.NextLong(max)
C#  
public long NextLong( 
   long max
)
C++/CLI  
public:
int64 NextLong( 
   int64 max
) 

Parameters

max

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