I need to extract the currently login user from remote system.

This is an intra-net project. All users use win-OS. Its also possible to find the user name from net bios. This is table where all name registered to that particular machine is shown. I would like to extract the current user from that particular one.

explictly i would like to know how to phrase of the out put and extract the required information

This is the output obtained from running the command
Local Area Connection:
Node IpAddress: [] Scope Id: []

           NetBIOS Remote Machine Name Table

       Name               Type         Status


    L4_50          <00>  UNIQUE      Registered 

    LMS            <00>  GROUP       Registered 

    L4_50          <20>  UNIQUE      Registered 

    L4_50          <03>  UNIQUE      Registered 

    L4_50$         <03>  UNIQUE      Registered 

    LMS            <1E>  GROUP       Registered 

    INet~Services  <1C>  GROUP       Registered 

    IS~L4_50.......<00>  UNIQUE      Registered 

    kathirvel <03>  UNIQUE      Registered 

    MAC Address = 00-0B-DB-67-6D-14

Would like to extract the name "kathirvel" from table by identifying <03> h-Number. Any help will be apprriciated

10 Years
Discussion Span
Last Post by Ramy Mahrous

if you got it in string you can extract it by many ways, like parsing the string or Regular Expression...

yes i did that, Actually i was asking for a help in dot net to prase the string right now the task is completed.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.