aj-r / RiotNet

A .NET/C# client for the Riot Games API
MIT License
23 stars 10 forks source link

VB.Net (No idea what I'm doing) #20

Closed JoshPaulie closed 6 years ago

JoshPaulie commented 6 years ago

Dim client As New RiotClient client.Settings.ApiKey = apikeyref Dim r As Models.Summoner = Await client.GetSummonerBySummonerNameAsync("jaowsh")

How is this not working? (The apikey is a dim at top.) I'm getting error with "await" and "client"

JoshPaulie commented 6 years ago

GOT IT. Needed the sub to be an async sub..silly me

aj-r commented 6 years ago

Great! I'm glad you were able to resolve it.