是的,您可以使用 SaveTo 中的方法 ASP.NET 库。 为此,只需执行以下操作:
string filepath = 'images/result.jpg'; GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); grabzIt.URLToImage('http://www.spacex.com'); grabzIt.SaveTo(filepath);