Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "CryptGenRandom" in [All]

advapi32

.
Summary
The CryptGenRandom function fills a buffer with cryptographically random bytes.
.

static extern bool CryptGenRandom(IntPtr hProv, uint dwLen, byte[] pbBuffer);

.

Declare Function CryptGenRandom Lib "advapi32.dll" (ByVal hProv As IntPtr, ByVal dwLen As Integer, ByVal pbBuffer As Byte()) As Boolean

.

if (!CryptGenRandom(hProv, (uint)(newRandom.Length), newRandom))

.
Documentation
[CryptGenRandom] on MSDN

 
Access PInvoke.net directly from VS: