記下來,寫入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")]
arrow
arrow
    文章標籤
    C# AssemblyProduct
    全站熱搜

    wings890109 發表在 痞客邦 留言(0) 人氣()