using System; namespace Znyc.Recruitment.Admin.Commons { /// /// 常用软件字符串 /// public static class UIConstants { /// /// 过期时间 /// public static string ApplicationExpiredDate = "12/29/2012"; /// /// 软件版本 /// public static string SoftwareVersion = "3.0"; /// /// 软件产品名称 /// public static string SoftwareProductName = "ZnycSoftSystem"; /// /// 软件的试用期 /// public static int SoftwareProbationDay = 20; /// /// 独立存储目录名称 /// public static string IsolatedStorageDirectoryName = "UserNameDir"; /// /// 独立存储加密钥 /// public static string IsolatedStorageEncryptKey = "12345678"; /// /// 注册加密公钥 /// public static string PublicKey = @"mtDtu679/0quhftVyOc6/cBov/i534Dkh3AB8RwrpC9Vq2RIFB3uvjRUuaAEPR8vMcijQjVzqLZgMM7jFKclzbh21rWTM+YlOeraKz5FPCC7rSLnv6Tfbzia9VI/r5cfM8ogVMuUKCZeU+PTEmVviasCl8nPYyqOQchlf/MftMM=AQAB"; /// /// 版权信息 /// public static string CopyRight = string.Format( "Copyright © 2017-{0} Znyc Tech.", DateTime.Now.Year); /// /// Web验证地址 /// public static string WebRegisterURL = "http://www.Znyc.Recruitment.Admin.com/WebRegister.aspx"; /// /// 设置参数值 /// /// 过期时间 /// 软件版本 /// 软件名称 /// 公钥字符串 public static void SetValue(string expiredDate, string version, string name, string publicKey) { ApplicationExpiredDate = expiredDate; SoftwareVersion = version; SoftwareProductName = name; PublicKey = publicKey; } } }