identify current user asp.net c# project

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2008
Posts: 7
Reputation: kathirvelmm is an unknown quantity at this point 
Solved Threads: 0
kathirvelmm kathirvelmm is offline Offline
Newbie Poster

identify current user asp.net c# project

 
0
  #1
Mar 26th, 2008
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
  1. This is the output obtained from running the command
  2.  
  3. Local Area Connection:
  4. Node IpAddress: [192.168.16.30] Scope Id: []
  5.  
  6.  
  7.  
  8. NetBIOS Remote Machine Name Table
  9.  
  10.  
  11.  
  12. Name Type Status
  13.  
  14. ---------------------------------------------
  15.  
  16. L4_50 <00> UNIQUE Registered
  17.  
  18. LMS <00> GROUP Registered
  19.  
  20. L4_50 <20> UNIQUE Registered
  21.  
  22. L4_50 <03> UNIQUE Registered
  23.  
  24. L4_50$ <03> UNIQUE Registered
  25.  
  26. LMS <1E> GROUP Registered
  27.  
  28. INet~Services <1C> GROUP Registered
  29.  
  30. IS~L4_50.......<00> UNIQUE Registered
  31.  
  32. kathirvel <03> UNIQUE Registered
  33.  
  34. 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
Last edited by kathirvelmm; Mar 26th, 2008 at 4:26 am. Reason: add some thing more to title
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: identify current user asp.net c# project

 
0
  #2
Mar 26th, 2008
if you got it in string you can extract it by many ways, like parsing the string or Regular Expression...
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 7
Reputation: kathirvelmm is an unknown quantity at this point 
Solved Threads: 0
kathirvelmm kathirvelmm is offline Offline
Newbie Poster

Re: identify current user asp.net c# project

 
0
  #3
Mar 27th, 2008
Originally Posted by RamyMahrous View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: identify current user asp.net c# project

 
0
  #4
Mar 27th, 2008
Kindly mark it as solved!
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC