# Check platform type

**URL:** <https://forum.xojo.com/t/check-platform-type/72508>\
**Category:** Web\
**Created:** [October 1, 2022, 12:46pm UTC](https://forum.xojo.com/t/check-platform-type/72508 "2022-10-01T12:46:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![AlbertoD](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@AlbertoD](https://forum.xojo.com/u/AlbertoD)\
**Post date:** [October 1, 2022, 2:15pm UTC](https://forum.xojo.com/t/check-platform-type/72508/2 "2022-10-01T14:15:51Z")

</div>

> [@Herman\_Dubach](#):
>
> WebSession.PlatformType.desktop

I think that code is for Web 1, so if you are using Xojo2020 or later, that code will not work.

Found this thread:

> [@websession.PlatformType is no longer exist?](https://forum.xojo.com/t/websession-platformtype-is-no-longer-exist/56343):
>
> where can we see replacement for websession.PlatformType?

Can you share the link to the documentation? Maybe there is a documentation bug that needs to be fixed.

---

_[View the full topic](https://forum.xojo.com/t/check-platform-type/72508)._
