Click here to Skip to main content
15,890,690 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralAccessing a network .mdb from Windows Service Pin
Jamie Nordmeyer13-Feb-03 7:44
Jamie Nordmeyer13-Feb-03 7:44 
GeneralRe: Accessing a network .mdb from Windows Service Pin
Stephane Rodriguez.13-Feb-03 7:50
Stephane Rodriguez.13-Feb-03 7:50 
GeneralRe: Accessing a network .mdb from Windows Service Pin
Jamie Nordmeyer13-Feb-03 7:57
Jamie Nordmeyer13-Feb-03 7:57 
GeneralRe: Accessing a network .mdb from Windows Service Pin
leppie14-Feb-03 6:17
leppie14-Feb-03 6:17 
GeneralRe: Accessing a network .mdb from Windows Service Pin
Jamie Nordmeyer14-Feb-03 9:36
Jamie Nordmeyer14-Feb-03 9:36 
GeneralRe: Accessing a network .mdb from Windows Service Pin
Richard Deeming14-Feb-03 0:00
mveRichard Deeming14-Feb-03 0:00 
GeneralRe: Accessing a network .mdb from Windows Service Pin
Jamie Nordmeyer14-Feb-03 9:20
Jamie Nordmeyer14-Feb-03 9:20 
GeneralIP performance counter in .NET Pin
princedom13-Feb-03 6:37
princedom13-Feb-03 6:37 
Hi,
I have a problem with peformance counters in C#.NET.
What I want to do is get a number of packets just like the number of
send/received packet that can be found in the Status windows, if
you click at the bottom right of your screen to your network
connection icon (the two small in/out screens flashing the network
activity).

The Received Datagrams/sec decription goes like that:
Datagrams Received/sec is the rate, in incidents per second, at
which IP datagrams are received from the interfaces, including those
in error. Datagrams Received/sec is a subset of Datagrams/sec.

But I want PACKETS not RATE. Is there any way I could somehow use
this rate to get packets?

I want to start my application, get the counter data, do somethings,
get the counter again and found the number of packets received
through the use of my application.

I could also do the following: Run my application and while running
it, I can have a Timer in another thread getting the values of the
counter each sec. So each second I pick a value-rate of the
connection, just like the Performance monitor in Administrative
Tools (control panel) works. But even then I don't get packets.

Is there perhaps a calulation I have to do to get this?

Sure there must be a way since the network activity on the Network
Status in the right bottom on Windows can do it.

BTW, I also run into this counter: Network Interface,
counter:Packets Received/sec with the following description:
Packets Received/sec is the rate at which packets are received on
the network interface.

Same here; rate.

Please help me if possible. This has become a nightmare for me.

Thank you,
Stefanos

GeneralMultiple UI Threads, One .NET App Pin
jjreilly12-Feb-03 6:00
jjreilly12-Feb-03 6:00 
GeneralRe: Multiple UI Threads, One .NET App Pin
Stephane Rodriguez.12-Feb-03 8:08
Stephane Rodriguez.12-Feb-03 8:08 
GeneralRe: Multiple UI Threads, One .NET App Pin
jjreilly13-Feb-03 6:14
jjreilly13-Feb-03 6:14 
GeneralChecking file changes Pin
Joao Vaz11-Feb-03 0:27
Joao Vaz11-Feb-03 0:27 
GeneralRe: Checking file changes Pin
Stephane Rodriguez.13-Feb-03 8:02
Stephane Rodriguez.13-Feb-03 8:02 
GeneralRe: Checking file changes Pin
Joao Vaz13-Feb-03 20:48
Joao Vaz13-Feb-03 20:48 
GeneralRe: Checking file changes Pin
Giles21-Feb-03 3:59
Giles21-Feb-03 3:59 
GeneralRe: Checking file changes Pin
Stephane Rodriguez.22-Feb-03 0:44
Stephane Rodriguez.22-Feb-03 0:44 
GeneralRe: Checking file changes Pin
Giles23-Feb-03 5:17
Giles23-Feb-03 5:17 
GeneralRe: Checking file changes Pin
Stephane Rodriguez.23-Feb-03 5:25
Stephane Rodriguez.23-Feb-03 5:25 
GeneralRe: Checking file changes Pin
Giles21-Feb-03 3:58
Giles21-Feb-03 3:58 
GeneralRe: Checking file changes Pin
Joao Vaz21-Feb-03 6:19
Joao Vaz21-Feb-03 6:19 
QuestionUser controls in toolbox? Pin
Jörgen Sigvardsson8-Feb-03 7:51
Jörgen Sigvardsson8-Feb-03 7:51 
AnswerRe: User controls in toolbox? Pin
leppie8-Feb-03 9:05
leppie8-Feb-03 9:05 
GeneralRe: User controls in toolbox? Pin
Jörgen Sigvardsson8-Feb-03 9:14
Jörgen Sigvardsson8-Feb-03 9:14 
GeneralRe: User controls in toolbox? Pin
leppie8-Feb-03 9:23
leppie8-Feb-03 9:23 
AnswerRe: User controls in toolbox? Pin
James T. Johnson8-Feb-03 12:33
James T. Johnson8-Feb-03 12:33 

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.