DeriveBytes.GetBytes(Int32) 方法

定義

在衍生類別中覆寫時,傳回虛擬隨機金鑰位元組。

public:
 abstract cli::array <System::Byte> ^ GetBytes(int cb);
public abstract byte[] GetBytes (int cb);
abstract member GetBytes : int -> byte[]
Public MustOverride Function GetBytes (cb As Integer) As Byte()

參數

cb
Int32

要產生的似隨機金鑰位元組數量。

傳回

Byte[]

位元組陣列,以虛擬隨機金鑰位元組填入。

適用於

另請參閱