派生クラスでオーバーライドされると、指定したランダム シードを使用して指定した長さのマスクを生成します。
Public MustOverride Function GenerateMask( _
ByVal rgbSeed() As Byte, _ ByVal cbReturn As Integer _) As Byte()
[C#]
public abstract byte[] GenerateMask(byte[] rgbSeed,intcbReturn);
[C++]
public: virtual unsigned char GenerateMask(unsigned charrgbSeed __gc[],intcbReturn) __gc[] = 0;
[JScript]
public abstract function GenerateMask(
rgbSeed : Byte[],cbReturn : int) : Byte[];
パラメータ
- rgbSeed
マスクの計算に使用するランダム シード。 - cbReturn
生成されたマスクのバイト単位の長さ。
戻り値
cbReturn パラメータと等しい長さの、ランダムに生成されたマスク。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
MaskGenerationMethod クラス | MaskGenerationMethod メンバ | System.Security.Cryptography 名前空間