通过网络设置新连接 [英] Setting new connection over a network

查看:76
本文介绍了通过网络设置新连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

男生和女生.
这是我需要做的.我编写的项目将在至少五台计算机共享的网络上启动.现在,我需要检查用户以前是否已使用其特定计算机登录到该应用程序.我知道如何通过使用"Application.UserAppDataRegistry.GetValue"检查注册表来执行此操作,但是客户端不希望这样.他想要的是使用web.config文件(如果有任何意义的话).我基本上需要打开一个表单,如果他们是第一次在该计算机上登录,则可以在其中设置连接.希望这是有道理的.

Hi guys and girls.
Here''s what I need to do. The project I wrote is going to be launched on a network shared by atleast five computers. Now I need to check if the user has previously logged into the application with his specific computer. I know how to do this by checking the registry using "Application.UserAppDataRegistry.GetValue", however the client doesn''t want it like that. What he wants is to use the web.config file for this, if that makes any sense. I basically need to open up a form where they can set their connection if they are logging in for the first time on that computer. Hope this makes sense.

推荐答案

您可以使用会话和缓存.
you can use session and cache.


这篇关于通过网络设置新连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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