加密配置文件时出现问题 [英] Problems while encrypting Config file

查看:96
本文介绍了加密配置文件时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上,我只是试图根据本文对配置文件进行加密

加密Windows窗体应用程序的app.config文件 [

Basically, I was just trying to encrypt the config file according to this article

Encrypting the app.config File for Windows Forms Applications[^]

So, the problem is, NOTHING HAPPENS! I spent hours debugging the code and researched many of similar articles but all in vain. But all the attempts were made from inside the IDE. Later when I ran the executable directly, it worked.
So I just wanted to know WHAT IS THE PROBLEM??

Note:- I am using VB.NET 2010 with .NET framework 3.0

推荐答案

不要在问题与答案"下发布此代码-如果您从文章,然后在该文章的底部有一个新消息"按钮,该按钮将导致向作者发送电子邮件.然后会通知他们您希望与他们交谈.
将其发布在这里依赖于他们的顺便来",并意识到它是为他们而设计的.
Don''t post this under Questions & Answers - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.


对不起,我是这个论坛的新手.我会立即将其张贴在这里.谢谢.
Sorry, I''m new to this forum. I''ll immediately post it there. thanx for response.


这篇关于加密配置文件时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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