123456789101112131415161718192021222324252627282930 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace SysSecLibs
- {
- public class AppEnv
- {
- public static string ReadConnectionString()
- {
- return FileFuns.ReadEncryptedFile("RSDB.cfg", "qwertyuiopasdfgh");
- }
- public static string ConfigFile
- {
- get
- {
- string text1 = "Config.rsc";
- string text2 = FileFuns.GetFullPathFileName(text1);
- if (text2 != "")
- {
- text1 = text2;
- }
- return text1;
- }
- }
- }
- }
|