We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
var client = new HttpClient(); client.Request.Uri = "http://www.baidu.com"; client.Request.Method = HttpMethod.OPTIONS; var httpWebRequest = client.Request.PrepareRequest(); HttpResponse httpResponse = new HttpResponse(); httpResponse.GetResponse(httpWebRequest, "", false);