如何获取 Windows 中所有打开的命名管道的列表? [英] How can I get a list of all open named pipes in Windows?

查看:51
本文介绍了如何获取 Windows 中所有打开的命名管道的列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种简单的方法可以测试您的命名管道是否正常工作?我想确保我从我的应用程序发送的数据实际上正在发送.有没有一种快速简便的方法来获取所有命名管道的列表?

Is there an easy way to test whether your named pipe is working correctly? I want to make sure that the data I'm sending from my app is actually being sent. Is there a quick and easy way to get a list of all the named pipes?

推荐答案

您可以通过 Process Explorer 来自 sysinternals.使用Find -> Find Handle or DLL..."选项并输入模式DeviceNamedPipe".它将显示哪些进程打开了哪些管道.

You can view these with Process Explorer from sysinternals. Use the "Find -> Find Handle or DLL..." option and enter the pattern "DeviceNamedPipe". It will show you which processes have which pipes open.

这篇关于如何获取 Windows 中所有打开的命名管道的列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆