Detect if mobile is on Tether connection

Hello everyone,

I am currently building a client/server application. I would like to know if my mobile (Android for instance) has tether connection activated (personal hotspot), since my server could connect to it.

I found how to detect wifi connection thanks to this answer ios - Unity check internet connection availability - Stack Overflow but this does not detect if I am using tether connection.

Do you know how ?

Thanks you all !

ps : I don’t need to know if I have an internet connection, just tether wifi working on

Here is the answer android - Unity : Detect if mobile is on Tether connection - Stack Overflow