Way to interface with Intel's new DRNG (RDRAND instruction) from C#?

3k Views Asked by At

I'm looking to consume Intel's Digital Random Number Generator (the RDRAND instruction in Ivy Bridge) from a C# assembly. I've looked at cpp libs but I was hoping there was a more "managed" solution. Any ideas?

1

There are 1 best solutions below

2
On

The best I can find is here:

You can download and compile (link, etc) your own. If you know someone who knows C++, write some extern methods for P/Invokes from C#.