The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
PasswordDeriveBytes::GetBytes Method (Int32)
.NET Framework (current version)
Returns pseudo-random key bytes.
Assembly: mscorlib (in mscorlib.dll)
public: [ObsoleteAttribute("Rfc2898DeriveBytes replaces PasswordDeriveBytes for deriving key material from a password and is preferred in new applications.")] virtual array<unsigned char>^ GetBytes( int cb ) override
Parameters
- cb
-
Type:
System::Int32
The number of pseudo-random key bytes to generate.
This method can create any number of pseudo-random bytes. However, the strength of the byte sequence is limited by the number of bytes in the hash output.
.NET Framework
Available since 1.1
Available since 1.1
Show: