且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在asp,net中获取客户端计算机的mac地址

更新时间:2022-06-23 22:21:23

Web应用程序无法访问客户端计算机.你不觉得这很好吗?如果有可能,谁会信任任何Web应用程序?虽然有安全性吗?

—SA
A Web application has no access to the client machine. Don''t you think this is very good? Who would trust any Web applications if such things were possible? Ever though about such thing as security?

—SA


您不能将ActiveX控件(或类似控件)编写并加载到客户端上并在客户端上执行.出于安全原因,浏览器无法访问此类信息.请注意,大多数PC都不会在未先征得许可的情况下执行ActiveX控件,并且大多数用户会拒绝许可.
You can''t, without writing and loading an ActiveX control (or similar) onto the client and executing it there. Browsers do not have any access to that kind of information for security reasons. Do note that most PC''s do not execute ActiveX controls without asking for permission first, and most users will refuse permission.