I'm converting some C# code into VB.Net and was stuck on second half of this line:
HttpWorkerRequest workerRequest = (HttpWorkerRequest)provider.GetService(typeof(Http WorkerRequest));
What would this code be in VB.NET?
I have the easy part:
Dim workerRequest As HttpWorkerRequest =