在开始使用互联网之前获取用户信息 [英] Take users information before start of using internet

查看:58
本文介绍了在开始使用互联网之前获取用户信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想开发这样一个界面,它将收集用户所需的信息,如Name和Roll no。允许他们使用互联网之前(无论如何......就像启动网络浏览器..等等)





使用VB .NET或任何最好的资源。



请建议我最好的方法...谢谢

Hi,

I want to develop such a interface which will collect the desired information from users such as Name and Roll no. before allowing them to use internet (by any means... like on starting up te web browsers..etc)


Using VB.NET or any best resource.

Please suggest me the best way...Thanks

推荐答案

以下是一个示例如何检测网络可用性的变化。



使用netsh interface set interface本地连接DISABLE禁用互联网,直到用户提供所需信息。



这只是你工作所需要的一小部分,但这就是你要求的。



- Pete
Here's an example of how to detect changes in network availability.

Use "netsh interface set interface "Local Area Connection" DISABLE" to disable the internet until the user provides you with the desired information.

This is just a small part of what you'll need to make this work, but it's what you asked for.

- Pete


首先,在考虑开始编写单行代码之前,您可能想了解代理服务器的工作原理。
First, you might want to learn how proxy servers work before you even think of starting to write a single line of code.


您是否在编写Web浏览器?我们自己,或者您使用的是现有的网络浏览器?如果您的用户打算使用您编写的Web浏览器,这很容易做到,但是,如果他们使用现有的浏览器,那么单独使用VB就可以了。您需要配置代理服务器,然后使用VB程序通过代理服务器授予用户访问权限。这可能变得非常复杂。
Are you writing the web browser yourself, or are you using an existing web browser? If your users are going to use the web browser you write, this is very easy to do, however, if they're using existing browsers, there's little VB alone can do. You need to configure a proxy server, and then use your VB program to grant access to the user via the proxy server. This can get very complicated.


这篇关于在开始使用互联网之前获取用户信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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