Gemstone Common Library
Show/Hide TOC

# RandomUInt32 Property

Generates a cryptographically strong unsigned 32-bit random integer.

## Definition

Namespace: Gemstone.Security.Cryptography
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
C#
View Source Request Example

    public static uint UInt32 { get; }

VB
View Source Request Example

    Public Shared ReadOnly Property UInt32 As UInteger
    	Get

C++
View Source Request Example

    public:
    static property unsigned int UInt32 {
    	unsigned int get ();
    }

JavaScript
View Source Request Example

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

#### Property Value

UInt32

## Exceptions

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

## See Also

#### Reference

Random Class
Gemstone.Security.Cryptography Namespace