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

查看:529
本文介绍了如何获取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?

推荐答案

您可以使用

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

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

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