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:
The best I can find is here:
- Rdrand manual and library (Windows* version)
- Rdrand manual and library (Linux* and OS X* version)
You can download and compile (link, etc) your own. If you know someone who knows C++, write some extern
methods for P/Invoke
s from C#.