I found various questions regarding this issue, such as this one - here.
Unfortunately, the rudimentary method of checking viewport width etc seems a little blunt force object. I'd prefer a scalpel.
Does anyone have a solid method of distinguishing between mobile and desktop browsers using only C# in Blazor?
My scenario is fairly simple, if the user is operating on a mobile device then I would like them to be redirected to a different page, and for whatever reason I am not able to use JS for this - use your imagination.
Edit: To elaborate on this a little, since I realise the question could do with more detail; I am looking for a solution which doesn't require the page to make custom JS calls from code, and for the C# to work after the page has been loaded. The specific need for a post-load function is not technical, and is so that the detection can be switched on/off by the user after they have loaded the page. I don't know if this is possible, and I suspect from the responses so far that it is not, but my question specifically was whether any further developments had been made on this issue since the question above had been posted.
Edit 2: Further, mobile is broad, I am specifically interested in general information about the device such as touchscreen/pointer, brand (Apple, Samsung etc) and device model.