I have a windows application, developed in C#. where I need to perform Google oAuth so I'll get their profile. I don't want to ask the user to enter their Google Username and Password in my windows application (and of course users don't want that).

How can I do that ?

I tried
1.) Able to open Google Authentication page from my windows application, but can't figure it out how to get access token passed to my windows application.

Any inputs / suggestions ?