RNGCryptoServiceProvider Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Implements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.

System..::..Object
  Microsoft.SPOT.Cryptoki..::..SessionContainer
    System.Security.Cryptography..::..RNGCryptoServiceProvider

Namespace:  System.Security.Cryptography
Assembly:  System.Security (in System.Security.dll)

'Declaration
Public Class RNGCryptoServiceProvider _
	Inherits SessionContainer

The RNGCryptoServiceProvider type exposes the following members.

  NameDescription
Public methodRNGCryptoServiceProvider(Session)Initializes a new instance of the RNGCryptoServiceProvider class with the specified session context.
Public methodRNGCryptoServiceProvider(String)Initializes a new instance of the RNGCryptoServiceProvider class.
Top

  NameDescription
Public propertyIsDisposed (Inherited from SessionContainer.)
Public propertySession (Inherited from SessionContainer.)
Top

  NameDescription
Public methodDispose()()()() (Inherited from SessionContainer.)
Protected methodDispose(Boolean) (Inherited from SessionContainer.)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalize (Inherited from SessionContainer.)
Public methodGetBytesFills an array of bytes with a cryptographically strong sequence of random values.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetNonZeroBytesFills an array of bytes with a cryptographically strong sequence of random nonzero values.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Protected fieldm_isDisposed (Inherited from SessionContainer.)
Protected fieldm_isSessionClosing (Inherited from SessionContainer.)
Protected fieldm_ownsSession (Inherited from SessionContainer.)
Protected fieldm_rng
Protected fieldm_session (Inherited from SessionContainer.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: