Export (0) Print
Expand All

DeriveBytes.GetBytes Method

When overridden in a derived class, returns pseudo-random key bytes.

[Visual Basic]
Public MustOverride Function GetBytes( _
   ByVal cb As Integer _
) As Byte()
[C#]
public abstract byte[] GetBytes(
 int cb
);
[C++]
public: virtual unsigned char GetBytes(
 int cb
)  __gc[] = 0;
[JScript]
public abstract function GetBytes(
   cb : int
) : Byte[];

Parameters

cb
The number of pseudo-random key bytes to generate.

Return Value

A byte array filled with pseudo-random key bytes.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DeriveBytes Class | DeriveBytes Members | System.Security.Cryptography Namespace | Cryptographic Services

Show:
© 2015 Microsoft