---
title: client.platform.hwtype
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/client-request/client-platform-hwtype
---

**Type:** STRING  
**Access:** read-only

**Available in:** all subroutines

A string representation of the primary client platform hardware. The most 
commonly used device types are also identified via boolean variables. Because a 
device may have multiple device types and this variable only has the primary 
type, we recommend using the boolean variables for logic and using this string 
representation for logging.
