//需將System.Windows.Forms加入參考

string LoginAccount = System.Windows.Forms.SystemInformation.UserName;

string ComputerName = System.Windows.Forms.SystemInformation.ComputerName;

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 Big Bear 的頭像
    Big Bear

    Programs Knowledge

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