SecureRandom.NextBytes(Byte[], ISecureRandomParameters) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates a user-specified number of random bytes with additional parameters.
[Android.Runtime.Register("nextBytes", "([BLjava/security/SecureRandomParameters;)V", "GetNextBytes_arrayBLjava_security_SecureRandomParameters_Handler", ApiSince=35)]
public virtual void NextBytes (byte[]? bytes, Java.Security.ISecureRandomParameters? params);
[<Android.Runtime.Register("nextBytes", "([BLjava/security/SecureRandomParameters;)V", "GetNextBytes_arrayBLjava_security_SecureRandomParameters_Handler", ApiSince=35)>]
override this.NextBytes : byte[] * Java.Security.ISecureRandomParameters -> unit
Parameters
- bytes
- Byte[]
the array to be filled in with random bytes
- params
- ISecureRandomParameters
additional parameters
- Attributes
Remarks
Generates a user-specified number of random bytes with additional parameters.
Added in 9.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.