API can not run in Window Form App (C#)
dante1989 opened this issue · comments
dante1989 commented
When i use the API on Window Console. It work well
But when i use API on Window Form. The application is crash and can not close app in normal way.
This is Project i have done: https://drive.google.com/file/d/1G47jJayMH-I-xTOuZ01aZSsY1Or3RnDx/view?usp=sharing
Could you help me to fix that problem or update API?
So thank you if sending me the fixed project
Marco Gavelli commented
This does not seem to be an issue with the library.
Just do this in Form.cs
private async void button1_Click(object sender, EventArgs e)
{
await examples.Basic_Usage.Run("email@gmail.com", "password");
}
dante1989 commented
Thank you so much. It work well :D