Hey Thomas,
I do not have the code ready for use in .NET.
I can show you the steps to take in LabVIEW however, maybe this can get you going.
You will need to execute the same functions in the same order eventually. Only the function names will be slightly off in the .NET programming environment.
Take a look at the link below.
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E89F56A4E034080020E74861&p_node=DZ52489&p_source=External
Regards,
Wouter Van Hoof
National Instruments