Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NETVB.NET
I am trying to get in the incoming and outgoing bytes and frames as well as idle time and log on time for users who are logged on to a windows server.
 
I have been able to get a list of users and their ip address but i am having no luck getting any of the other information i require.
 
I want this part of my program to mimic what the remote desktop service manager does when you right click on a user and select status.
 
I used WTSQuerySessionInformation to get UserName,IPAddress,Screen resolution and Color depth but am having no luck getting any of the other information I need.
 
I have posted this question all over and havent had really any luck getting an answer.
 
I find it hard to believe that no one else has had to build anything like this in the past of that its not easily accessible information from windows.
 
I dont need to continuously monitor the usage i just want a snap shot from when my program started.
 
A packet sniffer isnt going to work in my case because it will only count the packets since my application started and not from where the session started.
 
Any information would be extremely helpful, i have been stuck on this for days now and need to wrap up this project ASAP.
 
If there is something wrong with the way I formatted this question or if this isnt possible please comment and let me know,
 
Thanks
Posted 15-Nov-12 6:02am
Edited 15-Nov-12 9:06am
v2
Comments
DinoRondelly at 15-Nov-12 14:20pm
   
2 hours 18 views and no responses is there something wrong with the question? Is this impossible to do?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

I have solved this,
 
I used cassia to do it, the problem with the cassia source code is the properties for incoming\outgoing bytes weren't declared by default. ( Along with the incoming outgoing frames)
 
I added these to the source code and updated the interface and I was able to get these values.
 
Cassia was the solution for this all along,
 
Thanks Dave Kreskowiak for all your help and patience and once again I apologize for my comment above.
 
Any one who needs to do this again needs to look up cassia.net you can download and modify the source code.
 
[CassiaDownload]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

First thing is when you're not paying for support you have to be patient. We all volunteer our time here and have our normal jobs to do.
 
I haven't got back to you until late today because I've been banging out MY code all day.
 

Also, there's probably a very small percentage of people doing what you're attempting and don't have a Terminal Server sitting around to test code against. So, answers will take longer to come back.
  Permalink  
Comments
DinoRondelly at 15-Nov-12 17:10pm
   
Your right Dave I understand that and apologize for my comment on the question. I am at my wits end with this, so once again i apologize.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Shai Vashdi 1,638
1 Tadit Dash 350
2 Manas Bhardwaj 319
3 Sergey Alexandrovich Kryukov 250
4 OriginalGriff 243
0 Sergey Alexandrovich Kryukov 9,530
1 OriginalGriff 5,711
2 Peter Leow 4,320
3 Maciej Los 3,540
4 Abhinav S 3,373


Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 16 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid