Gemstone Common Library
Show/Hide TOC

# RandomInt32 Property

Generates a cryptographically strong 32-bit random integer.

## Definition

Namespace: Gemstone.Security.Cryptography
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.177 -- Release Build+17e3a8c30c12a6a5a57ad4af156d7b83be281c33
C#
View Source Request Example

    public static int Int32 { get; }

VB
View Source Request Example

    Public Shared ReadOnly Property Int32 As Integer
    	Get

C++
View Source Request Example

    public:
    static property int Int32 {
    	int get ();
    }

JavaScript
View Source Request Example

    Gemstone.Security.Cryptography.Random.get_Int32 = function();

#### Property Value

Int32

## Exceptions

CryptographicException | The cryptographic service provider (CSP) cannot be acquired.

## See Also

#### Reference

Random Class
Gemstone.Security.Cryptography Namespace