如何使用app.config中的值读取密钥? [英] How to read key using value from app.config?

查看:104
本文介绍了如何使用app.config中的值读取密钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


如何使用c#中的值从app.config读取密钥。



谢谢..

hi
how to read key from app.config using value in c#.

thanks..

推荐答案

查看此链接

http://stackoverflow.com/questions/17663305/reading-keyvalue-pairs-into-dictionary-from-app-config-configsection [ ^ ]



阅读最后一个答案。只需编写额外的代码行来搜索列表中的值,然后选择相应的键。
Check this link
http://stackoverflow.com/questions/17663305/reading-keyvalue-pairs-into-dictionary-from-app-config-configsection[^]

Read the last answer. Just write additional line of code for searching the value in the list, and select the corresponding key.


这篇关于如何使用app.config中的值读取密钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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