302 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
82
views
System.Net.WebException: The remote server returned an error: (426) Connection closed
Can anyone help please?
I'm trying to write a C# desktop app which will access a FTP server and fetch a file. For development, I have one remote FTP server and one on my LAN.
I can access both using ...
1
vote
1
answer
138
views
Getting content of URL using Invoke-WebRequest or System.Net.WebClient
I'm trying to get the content of https://www.migdal.co.il/about/investments/assets using PowerShell.
I've tried either:
Invoke-WebRequest -Uri "https://www.migdal.co.il/assets" -Method Get
...
0
votes
1
answer
86
views
What is System.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a?
Update:
Looking for system.net on the file I see that system.net is listed twice
<Reference Include="System.Net" />
<Import Include="System.Net" />
What is reference ...
0
votes
1
answer
62
views
Can't load System.Net.WebHeaderCollection
.net 6.0 project, it throw the exception can't find a dll version 6.
this is the error:
System.AggregateException: One or more errors occurred. (Could not load file or assembly 'System.Net....
1
vote
0
answers
118
views
Can I set the Request Queue Name when using System.Net.HttpListener
I have a service that listens for HTTP messages via HTTP.SYS. It uses the System.Net.HttpListener class:
this._httpListener = new HttpListener();
foreach(var prefix in _addressPrefixes.Select(...
0
votes
1
answer
262
views
Attaching a attachment to a calendar event using powershell
I am creating a calendar event using powershell. Ideally, I'd like to avoid using modules if possible because I feel like what I'm trying to do is very possible with what I have, but if a module is my ...
0
votes
1
answer
80
views
Don't allow parallel API invocation based on parameter
I'm required to do not allow more than one invocation at a time for an API, based on single query param. Parallel invocation with different values of the query param must be allowed.
I invoke the api ...
0
votes
1
answer
329
views
intellij IDEA + System.Net.Http.Formatting + issue to run function CLI command from staging folder
I am working with Azure Functions app in intellij idea. From Yesterday I am struggling with following issue :
[2023年10月05日T12:18:02.170Z] A host error has occurred during startup operation '7ab97efe-...
0
votes
0
answers
83
views
Access csv data from internet with c# and System.Net.Http
I am trying to download historical time series from Yahoo! Finance (I have the same issue with other sites). I have embedded the url address in a function to get a csv file. I am using System.Net and ...
0
votes
0
answers
82
views
ServicePointManager not initialised when in CLR class library?
I've inherited a CLR class library (.NET Framework 4.7.2) that provides a function which queries table storage in Azure. The function, called from a native C++ executable, is currently failing because ...
0
votes
0
answers
69
views
How to manage packets in a custom server
Context:
I want to make a multiplayer game with unity and i would like to make dedicated servers for players to be able to open their own server. I haven't made the game yet, i'm just experimenting ...
0
votes
1
answer
645
views
How to get Local Router Address[Not IPV4 address of device] in Xamarin
I have tried below code but it keeps on giving the me iPhone(ie.Device) IP Address. But I want to get a ROUTER IP ADDRESS
public string GetIPAddress()
{
String ipAddress = "";
...
0
votes
0
answers
270
views
Directly check a domain's SSL certificate without a callback in C#
I'm attempting to directly retrieve the SSL certificate for a given domain, so that I can access its fields (such as Issuer, Expiration date, Errors, etc).
All the non-deprecated examples I can find, ...
0
votes
1
answer
162
views
How to create new ServerSocket C#
using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Net.Sockets;
namespace PowerCarsMobileServer
{
class Server
{
public static int Port { ...
0
votes
1
answer
762
views
Is HttpWebRequest kind of obsolete, should HttpRequestMessage + HttpClient be used instead now, since what version of .NET?
There is a similar question but my questions seems more general
I've went through a few git repos and noticed Request/Response wrappers over HttpRequestMessage like CryptoExchange.Net.Requests.Request
...