Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/269.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/design-patterns/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 指定Winhttp必须使用的网卡/连接_C#_Winhttp - Fatal编程技术网

C# 指定Winhttp必须使用的网卡/连接

C# 指定Winhttp必须使用的网卡/连接,c#,winhttp,C#,Winhttp,我有一个C#中的应用程序,它利用Winhttp进行web请求。有没有办法指定WinHTTP必须使用哪个网卡进行连接?WinHTTP在OSI模型中处于错误位置,无法处理这样的硬件级别的东西。您将要查看如何修改路由表。WinHTTP或WinInet没有公开的选项来执行接口关联。在System.Net中,通过请求的ServicePoint上的BindIPEndPointDelegate,它似乎受到支持 我很好奇强制一个特定接口的场景是什么,因为它指出堆栈中的其他部分存在需要这样的东西的问题。您能详细介

我有一个C#中的应用程序,它利用Winhttp进行web请求。有没有办法指定WinHTTP必须使用哪个网卡进行连接?

WinHTTP在OSI模型中处于错误位置,无法处理这样的硬件级别的东西。您将要查看如何修改路由表。

WinHTTP或WinInet没有公开的选项来执行接口关联。在System.Net中,通过请求的ServicePoint上的BindIPEndPointDelegate,它似乎受到支持


我很好奇强制一个特定接口的场景是什么,因为它指出堆栈中的其他部分存在需要这样的东西的问题。

您能详细介绍一下路由表吗?路由不能用600个字符来正确解释。谷歌“路线添加”。它的级别较低,如果不小心使用,可能会使系统脱机。另一个用户有此问题()。情况是IPv6配置错误。他想强迫WinHttp首先尝试使用IPv4而不是IPv6。是,系统配置错误;这并不能真正帮助解决客户的计算机问题。