Thanks both
The thing I want to make is a miner.
First to test if I understand everything an unoptimized software miner, later a fpga miner.
I don't care if it is slow, it's just a hobby project at the moment.
With the links Revalin gave I found a C# implementation called
bitnet.
With only a few lines of code I succeeded to get some work to do and I fully understand the data the function returns so the next step is do some hashing with the sha256 function I already made earlier.