Samsung Tablet - OS version not returning in Edge browser

We use navigator.userAgent in our web app to determine the browser version and OS version of the device. It returns the right value in desktop and mobile devices in all browser. But in Samsung Tablet, Edge browser it doesn’t return the expected value, though it returns proper value in Chrome browser. How do we determine that browser is running in Samsung Galaxy tab?

user Agent in Edge - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.2792.65

userAgent in Chrome - Mozilla/5.0 (X11; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36