Silverlight客户端端口检查
我面临着一个让我非常困难的问题......
人们在执行需要打开特定端口的程序时遇到困难,遗憾的是他们不知道这是否是由端口阻塞引起的客户端问题,或者这只是一个软件问题。 所以我考虑制作一个程序来检查用户是否可以访问提供的端口,在我制作了WPF应用程序之后,我正在考虑更容易地访问此类功能并尝试生成一个Silverlight版本。
问题:
a.) 是否有一种方法可以检查用户是否可以在作为 Web 浏览器插件运行的 silverlight 应用程序中连接到不在 4502 - 4534 范围内的特定端口?
b.) 有没有办法做到这一点,即使无法访问特定服务器来提供策略文件?
I'm facing a problem that gives me a quite hard time ...
People having trouble to execute a program that needs specific ports to be open, sadly they don't know if its a clientside problem caused by blocked ports, of it its simply a software problem.
So I thought about making a program that checks if the user can access the provided ports, after I made the WPF application, I was thinking about having an easier access to such functionality and tried to produce a Silverlight Version.
Questions:
a.) Is there even a way to check if the user can connect to specific ports that aren't in the range of 4502 - 4534 within a silverlight application that runs as plugin in the web browser ?
b.) Is there a way to do this, even without having access to the specific server to provide a policy file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您尝试从浏览器内应用程序中执行此操作,那就不行。受信任的 silverlight 应用程序应该能够不受限制地连接到任何端口。
If you trying to do it from the in-browser application that its a no. Trusted silverlight application should be able to connect to any port without restrictions.