Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
QuestionNo connection could be made because the target machine actively refused it Pin
Amritarth18-Sep-09 6:06
Amritarth18-Sep-09 6:06 
AnswerRe: No connection could be made because the target machine actively refused it Pin
EliottA18-Sep-09 6:31
EliottA18-Sep-09 6:31 
AnswerRe: No connection could be made because the target machine actively refused it Pin
Luc Pattyn18-Sep-09 6:31
sitebuilderLuc Pattyn18-Sep-09 6:31 
AnswerRe: No connection could be made because the target machine actively refused it Pin
Dave Kreskowiak18-Sep-09 7:27
mveDave Kreskowiak18-Sep-09 7:27 
AnswerRe: No connection could be made because the target machine actively refused it Pin
0x3c018-Sep-09 7:40
0x3c018-Sep-09 7:40 
AnswerRe: No connection could be made because the target machine actively refused it Pin
Arun Jacob18-Sep-09 19:00
Arun Jacob18-Sep-09 19:00 
QuestionHow to find total data downloaded and uploaded by user (using c# code) Pin
Ajay Kewale18-Sep-09 5:27
Ajay Kewale18-Sep-09 5:27 
AnswerRe: How to find total data downloaded and uploaded by user (using c# code) Pin
Eddy Vluggen18-Sep-09 9:53
professionalEddy Vluggen18-Sep-09 9:53 
Ajay Kewale wrote:
I want to write a program in c# on server machine to find out at what time user logged in , logged out


That information can be obtained by browsing the EventLog[^]. Provided that you have the appropriate rights within your network to do so.

Ajay Kewale wrote:
what was the total data uploaded/downloaded by user


That's going to be trickier. Most applications don't tell Windows how much they download, so you'd have to dive a level deeper. Perhaps you can use the Firewall API[^] to do so.

Ajay Kewale wrote:
what are the software installed or uninstalled by user


The easiest way is to write a small daemon that makes a list of the installed applications[^] when the session starts, make a second list when the session ends, and compare them. Any modification, even individual service packs, will be listed. There should be entries like;
"Update for Microsoft Visual Studio Web Authoring Component (KB945140)"

The hard way is to write a Windows-service, looking for various installer-processes. Either way, you won't find any PortableApps[^] with these methods.

Ajay Kewale wrote:
for 5 clients , IP will be provided and the program should return 5 log files (one per client machine) giving details for the above mentioned parameters.


Aw, so without installing any code on the clients at all? You can read the Registry remotely to obtain the list of applications, again, if you have sufficient rights on your domain. I doubt however that the amount of transmitted data can be remotely retrieved.

I are Troll Smile | :)

QuestionHow to get upload status in steps Pin
vsaratkar18-Sep-09 5:12
vsaratkar18-Sep-09 5:12 
AnswerRe: How to get upload status in steps Pin
Not Active18-Sep-09 5:22
mentorNot Active18-Sep-09 5:22 
AnswerRe: How to get upload status in steps Pin
Dave Kreskowiak18-Sep-09 5:24
mveDave Kreskowiak18-Sep-09 5:24 
AnswerRe: How to get upload status in steps Pin
vsaratkar18-Sep-09 7:19
vsaratkar18-Sep-09 7:19 
QuestionAccessing to an Object in Section4 of a Crystal Report with C# ? Pin
Mohammad Dayyan18-Sep-09 5:07
Mohammad Dayyan18-Sep-09 5:07 
Questionplay video on the form without a control Pin
Jassim Rahma18-Sep-09 4:47
Jassim Rahma18-Sep-09 4:47 
AnswerRe: play video on the form without a control Pin
EliottA18-Sep-09 4:56
EliottA18-Sep-09 4:56 
Questionyour advise plz: Activate the software Pin
Jassim Rahma18-Sep-09 4:45
Jassim Rahma18-Sep-09 4:45 
AnswerRe: your advise plz: Activate the software Pin
EliottA18-Sep-09 4:55
EliottA18-Sep-09 4:55 
AnswerRe: your advise plz: Activate the software Pin
Henry Minute18-Sep-09 4:56
Henry Minute18-Sep-09 4:56 
Questioncustomize Crystal Report Viewer statusbar Pin
Jassim Rahma18-Sep-09 4:42
Jassim Rahma18-Sep-09 4:42 
AnswerRe: customize Crystal Report Viewer statusbar Pin
Henry Minute18-Sep-09 4:51
Henry Minute18-Sep-09 4:51 
Questionusing MDF file without SQL Server Pin
Jassim Rahma18-Sep-09 4:40
Jassim Rahma18-Sep-09 4:40 
AnswerRe: using MDF file without SQL Server Pin
Dave Kreskowiak18-Sep-09 5:19
mveDave Kreskowiak18-Sep-09 5:19 
Questionpopup calendar when right clicked on Crystal Report Viewer Pin
Jassim Rahma18-Sep-09 4:37
Jassim Rahma18-Sep-09 4:37 
QuestionCrystal Reports with SQL Server step by step Pin
Jassim Rahma18-Sep-09 4:35
Jassim Rahma18-Sep-09 4:35 
QuestionCrossing Threads Pin
FJJCENTU18-Sep-09 4:30
FJJCENTU18-Sep-09 4:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.