DeriveBytes 類別

定義

表示衍生指定長度位元組序列所有類別所繼承的來源抽象基底類別。Represents the abstract base class from which all classes that derive byte sequences of a specified length inherit.

public ref class DeriveBytes abstract : IDisposable
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class DeriveBytes : IDisposable
type DeriveBytes = class
    interface IDisposable
Public MustInherit Class DeriveBytes
Implements IDisposable
繼承
DeriveBytes
衍生
屬性
實作

給繼承者的注意事項

當您繼承自 DeriveBytes 時,您必須覆寫下列成員:GetBytes(Int32)Reset()When you inherit from DeriveBytes, you must override the following members: GetBytes(Int32), and Reset().

建構函式

DeriveBytes()

初始化 DeriveBytes 類別的新執行個體。Initializes a new instance of the DeriveBytes class.

方法

Dispose()

在衍生類別中覆寫時,將目前 DeriveBytes 類別的執行個體所使用的所有資源全部釋出。When overridden in a derived class, releases all resources used by the current instance of the DeriveBytes class.

Dispose(Boolean)

在衍生類別中覆寫時,釋出 DeriveBytes 類別使用的 Unmanaged 資源,並選擇性釋出 Managed 資源。When overridden in a derived class, releases the unmanaged resources used by the DeriveBytes class and optionally releases the managed resources.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetBytes(Int32)

在衍生類別中覆寫時,傳回虛擬隨機金鑰位元組。When overridden in a derived class, returns pseudo-random key bytes.

GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
Reset()

在衍生類別中覆寫時,重設作業的狀態。When overridden in a derived class, resets the state of the operation.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於

另請參閱