private static void updateDevice(IoTDAClient client)
        {
            UpdateDeviceRequest req = new UpdateDeviceRequest
            {
                DeviceId = "5e25d39a3b7c24fa3638804b_1211211",
                Body     = new UpdateDevice()
                {
                    DeviceName  = "test",
                    Description = "dfsdfgfgvfdfddfvdf",
                    AuthInfo    = new AuthInfoWithoutSecret()
                    {
                        SecureAccess = true,
                        Timeout      = 0
                    }
                }
            };

            try
            {
                var resp = client.UpdateDevice(req);
                Console.WriteLine(resp);
            }
            catch (RequestTimeoutException requestTimeoutException)
            {
                Console.WriteLine(requestTimeoutException.ErrorMessage);
            }
            catch (ServiceResponseException clientRequestException)
            {
                Console.WriteLine(clientRequestException.HttpStatusCode);
                Console.WriteLine(clientRequestException.ErrorCode);
                Console.WriteLine(clientRequestException.ErrorMsg);
            }
            catch (ConnectionException connectionException)
            {
                Console.WriteLine(connectionException.ErrorMessage);
            }
        }