Click or drag to resize
CryptoServiceRandom Class
Implementation of Random that wraps RNGCryptoServiceProvider
Inheritance Hierarchy

Namespace: MlkPwgen
Assembly: MlkPwgen (in MlkPwgen.dll) Version: 0.1.0.0
Syntax
public sealed class CryptoServiceRandom : Random, 
	IDisposable

The CryptoServiceRandom type exposes the following members.

Constructors
  NameDescription
Public methodCryptoServiceRandom
Initializes a new instance of the CryptoServiceRandom class
Public methodCryptoServiceRandom(RandomNumberGenerator)
Initializes a new instance of the CryptoServiceRandom class
Top
Methods
  NameDescription
Public methodChooseT(IEnumerableT)
Returns one item from items chosen randomly
(Inherited from Random.)
Public methodChooseT(ISetT)
Returns one item from set chosen randomly
(Inherited from Random.)
Public methodDispose
Releases all resources used by the CryptoServiceRandom
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetChoiceStreamT
Returns an infinite stream of randomly chosen items from set
(Inherited from Random.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNum (Overrides RandomGetNum.)
Public methodGetNum(Int32)
Returns a random number between 0 and maxInclusive inclusive
(Inherited from Random.)
Public methodGetNum(UInt32)
Returns a random number between 0 and maxInclusive inclusive
(Inherited from Random.)
Public methodGetNumStream
Returns an infinite stream of random numbers between 0 and maxInclusive inclusive
(Inherited from Random.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodShuffleT
Returns items in a random order
(Inherited from Random.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also