Reputation: 1223
PowerShell 3.0 offers a very decent new cmdlet called Invoke-WebRequest. Is there a way to make use of its functionality using C# respectively .NET without invoking the cmdlet directly? Is it even based on .NET?
Regards, Kevin
Upvotes: 8
Views: 10157
Reputation: 72630
You can use System.Net.HttpWebRequest to do the same thing. you've got a codeproject article about that.
Upvotes: 5