Quick disclaimer, I haven't actually tried this in csharp, and I am not good at csharp. I am more of a C or C++ person. Still, can you try without foreach? Also, can you try hardcoding the device name, too (just as a test, not permanently)? You can find out the device name by opening up VLC player. ...