I have tried with this code, but it causes an error with “Blinkstick.FindFirst()”.
BC30491 Visual Basic AND VB.NET Expression does not produce a value.
Dim device As BlinkStick = BlinkStick.FindFirst()
If device IsNot Nothing Then
If device.OpenDevice() Then
Console.WriteLine(“BlinkStick was turned off”)
Console.WriteLine(“Could not open the device”)
Console.WriteLine(“BlinkStick not found”)