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

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

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

arrow
arrow
    全站熱搜

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