简体   繁体   English

我的 C# 项目中哪个引用的 DLL 正在尝试访问互联网

[英]Which referenced DLL in my C# project is trying to access internet

I am working on a C# project.我正在处理一个 C# 项目。 One of the referenced DLL in my project is trying to access the internet and I do not know which one.我的项目中引用的 DLL 之一正在尝试访问 Internet,但我不知道是哪个。

How can I find out which one ?我怎样才能找出哪一个?

Is there a way to monitor which DLL is referencing/using the HTTP services ?有没有办法监控哪个 DLL 正在引用/使用 HTTP 服务?

1.Disable your network connection. 1.禁用网络连接。

2.Start debug your code with Visual Studio. 2.开始使用 Visual Studio 调试您的代码。 <--- wait for a while then your program may be blocked due to the network disconnection. <--- 稍等片刻,您的程序可能会因网络断开而被阻止。

3.Click "Break All" button Then the code may stopped at the entrance function of the DLL which is connecting to network ...if you are lucky. 3.点击“Break All”按钮 然后代码可能会停在连接网络的DLL的入口函数处......如果你幸运的话。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM