Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a button on windows form ,when i click on the button it will redirect to suppose gmail account ,i provides my credentials there and got an access token .i want to store that access token into my windows form from where i started . how to do any suggestion .
Posted

1 solution

 
Share this answer
 
Comments
Member 10609665 20-Oct-15 2:04am    
my question is different .how to show on windows form ?
suppose i have a button and text box on windows form when i click on button it will redirect me to gmail home page i entered my username and password and click signin now it will redirect me to gmail inbox if i am avalid user .i want when i click on sigin button the browser window get close. and store the access token into textbox which is on windows form in c# .
_Amy 20-Oct-15 2:20am    
You do the same in winforms too.
See a sample : OAuth 2.0 for Google Regular Accounts (installed applications)[^]
Member 10609665 20-Oct-15 2:52am    
do u have any demo without using api .
_Amy 20-Oct-15 4:57am    
You must have to use API for google authentication.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900