Results 1 to 6 of 6

Thread: detect upload

  1. #1

    Thread Starter
    Banned
    Join Date
    Mar 2009
    Posts
    764

    detect upload

    how to detect data being uploaded ?

  2. #2
    Fanatic Member BlindSniper's Avatar
    Join Date
    Jan 2011
    Location
    South Africa
    Posts
    865

    Re: detect upload

    Code:
            Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
            Dim stat As IcmpV4Statistics = properties.GetIcmpV4Statistics()
            Console.WriteLine(stat.MessagesSent)
            Console.ReadLine()
    The rest should bee easy to figure out. Just check if the value changed and you will know that something is being uploaded.

    Useful CodeBank Entries of mine
    Expand Function
    Code Compiler
    Sudoku Solver
    HotKeyHandler Class

    Read this to get Effective help on VBForums
    Hitchhiker's Guide to Getting Help at VBF

  3. #3
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: detect upload

    Does that not tell you of any message sent? So a html page request would also count as an upload.

  4. #4
    Fanatic Member BlindSniper's Avatar
    Join Date
    Jan 2011
    Location
    South Africa
    Posts
    865

    Re: detect upload

    I don't know, obviously moti din't even try googling it, so I did and that is what I got. The other way is monitoring traffic on ports which i don't know if that is possible, and the framework does not have that functionality built in. You could also try Monitoring applications traffic but that is also not in the framework although I have seen it been done in a .net app.

    Useful CodeBank Entries of mine
    Expand Function
    Code Compiler
    Sudoku Solver
    HotKeyHandler Class

    Read this to get Effective help on VBForums
    Hitchhiker's Guide to Getting Help at VBF

  5. #5

    Thread Starter
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: detect upload

    the var properties isn't used in the code, or so it seems ?

  6. #6
    Fanatic Member BlindSniper's Avatar
    Join Date
    Jan 2011
    Location
    South Africa
    Posts
    865

    Re: detect upload

    I am speechless

    Useful CodeBank Entries of mine
    Expand Function
    Code Compiler
    Sudoku Solver
    HotKeyHandler Class

    Read this to get Effective help on VBForums
    Hitchhiker's Guide to Getting Help at VBF

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width