如何创建asp.net Web应用程序.运行网络命令 [英] How to Create asp.net web app. to run networking commands

查看:66
本文介绍了如何创建asp.net Web应用程序.运行网络命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

请在图片(地图)上使用大多数网络命令,例如(Ping,ipconfig,tracert,.... etc)到
测试网络.

使用ASP.NET

问候,

埃玛德

[edit]删除了整个消息的虚假大"字(如果我们的视力正成为问题,我们都知道缩放控件在哪里)-OriginalGriff [/edit]

Hi Guys,

Please I need to use most of networking commands such as (Ping, ipconfig, tracert, ....etc) on a picture (Map) to
test a network.

Using ASP.NET

Regards,

Emad

[edit]Spurious "big" for whole message removed (we all know where the zoom control is, if our sight is becoming a problem) - OriginalGriff[/edit]

推荐答案

请参阅我对问题的评论.

而且,虽然ping在ASP.NET应用程序中可能有一定意义(从实际角度来看很少,但是可以起作用),但是运行ipconfig和tracert根本没有任何意义.您要在客户端或服务器上的何处运行它?看一下:这些不是命令,而是Windows应用程序ipconfig.exe和tracert.exe.它们与本地计算机的设置有关,也与本地计算机的设置有关,不能通过网络(无论是否通过WWW)进行传递.

您要在客户端上运行它们吗?但是这些应用程序可能会或可能不会出现在用户的计算机上.为什么?为了给用户提供运行某项东西的机会,她或他可以简单地在本地运行,而又不怀疑有人可以通过Web监视他们?

在服务器上?为什么?要给我们最亲密和秘密的服务器系统设置?还是让Web应用程序有机会搞砸这些设置并完全破坏服务器的功能?

那么,这是否说明了这个问题有多深呢?

—SA
Please see my comment to the question.

Also, while ping could make some sense in ASP.NET application (very little from the practical standpoint, but something that could work), running ipconfig and tracert would not make any sense at all. Where do you want to run it, on client or server? Look at this: those are not commands but Windows applications ipconfig.exe and tracert.exe. They have something to do with local computer settings, and very intimate ones, not to be passed over the network, WWW or not.

Do you want to run them on client? But these applications may or may not exist on the user''s computer. Why? To give the user an opportunity to run something she or he can simply run locally but without suspecting that someone could spy on them via the Web?

On server? Why? To give our most intimate and secret settings of the server system? Or to give the Web application the opportunity to screw up those settings and completely destroy the server''s functionality?

So, does it explains how deeply inappropriate this question is?

—SA


这篇关于如何创建asp.net Web应用程序.运行网络命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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