在域里的别人的一台机器,知道他的IP之后,怎样得到他的机器的登陆名呢?

解决方案 »

  1.   

    nbtstat -A xxx.xxx.xxx.xxx编程实现:http://pillar.vip.sina.com/pinger/pinger.html
      

  2.   

    GetTcpTable
    The GetTcpTable function retrieves the TCP connection table.DWORD GetTcpTable(
      PMIB_TCPTABLE pTcpTable,  // buffer for the connection table
      PDWORD pdwSize,           // size of the buffer
      BOOL bOrder               // sort the table?
    );
      

  3.   

    别忘了包含和引用库nethlp.lib
    你可以手动加入
      

  4.   

    我的意思是得到某台机器的登陆用户,
    如:   rdcenter/00123
    即rdcenter域的00123用户正在使用这台机器