Windows desktop application read session data from browser
if you mean to authorize your desktop app via the login of user from any web browser, you can use TCP/UDP socket or also for example , call an api every 2 seconds to check is user is loged in or not. in web browser , if user had be loged in , you can set login state with its ip or other data in database to authorize the user from desktop app.
I'm writing a desktop and web app, Just need to know how can i authorize this desktop application with same open web app browser after installed?