DSB
DSB

Reputation: 59

What is the corresponding function for DeviceIoControl (C++) in C#.net?

DeviceIoControl is used in C++ to communicate with USB device connected to the System. I want to use the same functionality in C#.net, but I can't able find anything similar.

Upvotes: 1

Views: 1215

Answers (1)

Lloyd
Lloyd

Reputation: 29668

You can PInvoke it:

http://www.pinvoke.net/default.aspx/kernel32/DeviceIoControl.html

Upvotes: 1

Related Questions