Write() public method

public Write ( byte data ) : bool
data byte
return bool
Exemplo n.º 1
0
 private static bool WriteData(HidDevice device, byte[] data)
 {
     bool wroteData = device.Write(data);
     if (!wroteData)
         Console.WriteLine("Failed to write data");
     return wroteData;
 }