Method GetClientDevice
GetClientDevice(HttpContext)
Gets the device that is making the request, as session handling records it (see Device): the platform,
name and version of the browser or app from the User-Agent header if they can be identified, otherwise the header itself, shortened to
MaxDeviceLength. The device is read the first time and kept for the rest of the request, or of the SignalR
connection that the request established.
Declaration
public static string GetClientDevice(this HttpContext httpContext)
Parameters
Returns
Exceptions