Esempio n. 1
0
 private static void ReadDeviceIdentification(string portName, SmlComServiceClient proxy, Guid clientGuid)
 {
     Console.WriteLine("Reading device identification");
     var di = proxy.ReadDeviceIdentification(clientGuid, portList.FirstOrDefault(m => m.ComPortName == portName));
     Console.WriteLine("Device identification: {0}", Stringify(di));
     Console.WriteLine();
 }