Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to monitor http downloads and uploads?

How to monitor http downloads and uploads?

Scheduled Pinned Locked Moved C#
helptutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Meysam Mahfouzi
    wrote on last edited by
    #1

    Is there any easy way to monitor the amount of bytes sent and received on http port 80? I don't want to monitor the content of packets, just number and size of packets is important to me. Is TcpListener class suitable for this purpose? Any help would be greatly appreciated

    T J 2 Replies Last reply
    0
    • M Meysam Mahfouzi

      Is there any easy way to monitor the amount of bytes sent and received on http port 80? I don't want to monitor the content of packets, just number and size of packets is important to me. Is TcpListener class suitable for this purpose? Any help would be greatly appreciated

      T Offline
      T Offline
      Tamer Oz
      wrote on last edited by
      #2

      You can user PerformanceCounter component by setting CategoryName property to Network Interface and after selecting appropriate counter.

      1 Reply Last reply
      0
      • M Meysam Mahfouzi

        Is there any easy way to monitor the amount of bytes sent and received on http port 80? I don't want to monitor the content of packets, just number and size of packets is important to me. Is TcpListener class suitable for this purpose? Any help would be greatly appreciated

        J Offline
        J Offline
        Jacobb Michael
        wrote on last edited by
        #3

        Hi using api hooking you can monitor the network usage such: wsock32.dll has two funcaiton in the socket level 1 send 2 receive from that you can monitor and it works fine.and it calculates the entire upload download.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups