Click or drag to resize
CryptoRandom Class
A class that mimics the standard Random class in the .NET Framework - but uses a random number generator internally.
Inheritance Hierarchy
SystemObject
  SystemRandom
    Intuit.Ipp.OAuth2PlatformClientCryptoRandom

Namespace:  Intuit.Ipp.OAuth2PlatformClient
Assembly:  Intuit.Ipp.OAuth2PlatformClient (in Intuit.Ipp.OAuth2PlatformClient.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax
C#
public class CryptoRandom : Random

The CryptoRandom type exposes the following members.

Constructors
  NameDescription
Public methodCryptoRandom
Initializes a new instance of the CryptoRandom class.
Public methodCryptoRandom(Int32)
Initializes a new instance of the CryptoRandom class.
Top
Methods
  NameDescription
Public methodStatic memberCreateRandomKey
Create Random keys bytes
Public methodStatic memberCreateRandomKeyString
Create Random key string
Public methodStatic memberCreateUniqueId
Create Unique Id
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNext
Returns a nonnegative random number.
(Overrides RandomNext.)
Public methodNext(Int32)
Returns a nonnegative random number less than the specified maximum.
(Overrides RandomNext(Int32).)
Public methodNext(Int32, Int32)
Returns a random number within a specified range.
(Overrides RandomNext(Int32, Int32).)
Public methodNextBytes
Fills the elements of a specified array of bytes with random numbers.
(Overrides RandomNextBytes(Byte).)
Public methodNextDouble
Returns a random number between 0.0 and 1.0.
(Overrides RandomNextDouble.)
Protected methodSample
Returns a random floating-point number between 0.0 and 1.0.
(Inherited from Random.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodCopyRecursive
recursively copies object properties to destination.
(Defined by Utility.)
Top
See Also