GenerateRandom Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.SPOT.Cryptoki
Assembly: Microsoft.SPOT.Security.PKCS11 (in Microsoft.SPOT.Security.PKCS11.dll)
Syntax
'Declaration
Public Sub GenerateRandom ( _
data As Byte(), _
index As Integer, _
length As Integer, _
onlyNonZero As Boolean _
)
public void GenerateRandom(
byte[] data,
int index,
int length,
bool onlyNonZero
)
public:
void GenerateRandom(
array<unsigned char>^ data,
int index,
int length,
bool onlyNonZero
)
member GenerateRandom :
data:byte[] *
index:int *
length:int *
onlyNonZero:bool -> unit
public function GenerateRandom(
data : byte[],
index : int,
length : int,
onlyNonZero : boolean
)
Parameters
- data
Type: array<System. . :: . .Byte> [] () [] []
- index
Type: System. . :: . .Int32
- length
Type: System. . :: . .Int32
- onlyNonZero
Type: System. . :: . .Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.