180 questions
0
votes
0
answers
62
views
How to send asynchronous httpwebrequest request in VB?
So I am doing some web scraping in VB.NET using this approach:
First I declare some public variables in a module.
Public str_url As String, code_result As String
Public webreq As HttpWebRequest
Public ...
0
votes
1
answer
622
views
MS Graph Times Out
I have a call to MS Graph that works perfectly... we're trying to pull a report and export it. Everything works fine, but when we put it into PROD we have 17k users to evaluate which likely will take ...
1
vote
0
answers
1k
views
The SSL connection could not be established, see inner exception. The credentials supplied to the package were not recognized
I'm doing an integration with the Itaú bank api to generate slips.
This integration required the sending of a digital certificate.
My application is hosted on Azure.
When I run the application locally ...
1
vote
1
answer
1k
views
Requesting OAuth Token from Zoom API Shortens the access_token attribute, but does not in Postman
The access_token is always 632 characters long, and when I test it in Postman it works fine
Postman Code:
using System;
using RestSharp;
namespace HelloWorldApplication {
class HelloWorld {
...
0
votes
0
answers
6k
views
c# System.Net.Http.HttpRequestException: An error occurred while sending the request
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. --->...
0
votes
1
answer
423
views
Getting Error 413 on HttpWebRequest for Microsoft GRAPH API
Using C# WPF to send pre-generated emails w/attachments via the GRAPH API. We've been successful when sending emails before with an attachment that is about 100kb, but upon expanding our capabilities ...
1
vote
0
answers
111
views
HttpWebRequest from basic to modern authentication
I have a script dat i want to convert to modern authentication. I cant find the right properties to do it. Could you help me?
HttpRequestCachePolicy policy = new HttpRequestCachePolicy(...
1
vote
1
answer
216
views
How do I read Little Endian encoded files in C#?
I have a stream coming in from a HttpWebResponse and when I am using the code below to read and basically re-create the file on my local machine.
string sx = "";
using (HttpWebResponse ...
0
votes
1
answer
357
views
How to download a file from TLS1.3 enabled web site on Windows 10 using webclient or httpclient in C#
I am trying to download a file from UK government official site using WebClient and HttpClient in C#
Following is the site which i guess is using TLS1.3
https://www.gov.uk/government/publications/the-...
2
votes
1
answer
1k
views
.Net Maui Blazor - Does HttpClient or WebRequest work at all?
Using VS 17.3 Preview 1, .Net Maui Blazor, I can't get httpclient or webrequest to work at all in Android. I've tried all the android option project settings (blank, managed, Android, legacy), also ...
1
vote
1
answer
171
views
HttpClient.PostAsync not complete with wrong DNS server , ios app frozen
Steps to Reproduce
Setting wrong DNS at Ipad wifi setting (ex: 5.6.7.8)
Run App, Request HttpClient.PostAsync
App Frozen
Expected Behavior
Response Error in Catch()
Actual Behavior
App Frozen
...
0
votes
0
answers
96
views
Communicate across two Client and one listener (3 separate process) c#
SO Members,
Let me breakthrough the steps:-
1 ) I have created the TCP Listener in the separate Class that is started. This class will look for possible clients to connect to it.
2 ) I have created a ...
0
votes
0
answers
413
views
How to prevent System.Net.WebRequest from printing a bunch of data about the request to the console
I wrote a powershell script to test a bunch of api endpoints. I grab a list of api endpoints, iterate through them grabbing the status code and checking if things are up and running.
The core of the ...
0
votes
1
answer
2k
views
Replace RestSharp GET request with Net.Http
I have a RestSharp Entitlement check code that works, but I need to replace it with one that uses native C# library (Net.Http). So I was wondering what will the equivalent of my code be using native C#...
0
votes
0
answers
63
views
HTTP WebResponse - Read data when it is available in the ResponseStream
SO Team,
I have created a Server that sends the JSON string into the TCPClient Stream, This JSON Data will be sent when the user clicks on the Mouse. For Example, for every click of the position ...