Gets the current layout device.
The device is resolved in the HttpRequest pipeline by analyzing the incoming request and the items in /sitecore/layout/devices. The best match is selected as the current device.
Context Class | Sitecore Namespace