Welcome Guest Search | Active Topics | Sign In | Register

How to use NavigationTask with async/await Options
Stefan Koell
Posted: Monday, November 14, 2022 12:16:41 PM
Rank: Advanced Member
Groups: Member

Joined: 12/23/2013
Posts: 114
Hi

Looking to upgrade to 23.x and noticed a new API to load HTML and URI. Maybe I’m missing something in the docs but how can I make use of it in async/await scenarios?

Thx
eo_support
Posted: Monday, November 14, 2022 12:28:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

You would first reference EO.Extensions.dll and then use namespace EO.Extensions. After that you can use the async version of many APIs. For example, you can use:

Code: C#
await webView.LoadUrlAsync(url);

MessageBox.Show("the page has finished loading!");


Please feel free to let us know if you still have any questions.

Thanks!
Stefan Koell
Posted: Monday, November 14, 2022 12:35:03 PM
Rank: Advanced Member
Groups: Member

Joined: 12/23/2013
Posts: 114
Thanks for the quick reply. I wasn’t aware of the Extensions package. Will look into it.
eo_support
Posted: Monday, November 14, 2022 1:17:21 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
You are very welcome. Please feel free to let us know if you have any more questions.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.