記下來,寫入DB比較方便。
decimal modDate = StringLogic.ToDecimal(DateTime.Now.ToString("yyyyMMdd"));
decimal modTime = StringLogic.ToDecimal(DateTime.Now.ToString("HHmmss"));
Type t = typeof(Program);
AssemblyProductAttribute productAttr = t.Assembly.GetCustomAttributes(typeof(AssemblyProductAttribute), true)[0] as AssemblyProductAttribute;
string modUser = productAttr.Product; //取得[assembly: AssemblyProduct("FTS")]
文章標籤
全站熱搜
