如下Configurationanager, Connectionstrings怎么将获取选择后的config文件地址内容
private void Encryption APP Click(object sender, EventArgs e)
if(openFileDialogl.ShowDialog()== DialogResult.OK)
try
var filePath = openFileDialogl.FileName;
using Stream str = openFileDialogl.0penFile();
//解密获取configuration内容
string Constr = EncryptDecrypt, DEsDecrypt(Configurationanager, Connectionstrings [Strings.Textl. Conectionstring, Key, Text, Vector. Text)
Decrypt After.Text = Constr,