When overridden in a derived class, returns pseudo-random key bytes.
Syntax
Visual Basic (Declaration) | |
---|
Public Overrides NotOverridable Function GetBytes( _
ByVal cb As Integer _
) As Byte()
|
Visual Basic (Usage) | Copy Code |
---|
Dim instance As PBKDF2
Dim cb As Integer
Dim value() As Byte
value = instance.GetBytes(cb)
|
Parameters
- cb
- The number of pseudo-random key bytes to generate.
Return Value
A byte array filled with pseudo-random key bytes.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also