## KeyboardEvent.Code property

The code holds a string that identifies the physical key being pressed. The value is not affected by the current keyboard layout or modifier state, so a particular key will always return the same value.

```csharp
public string Code { get; }
```

### Property Value

The key code.

### See Also

* class [KeyboardEvent](../)
* namespace [Aspose.Html.Dom.Events](../../../aspose.html.dom.events/)
* assembly [Aspose.HTML](../../../)
