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. NetworkStream.Length Property

NetworkStream.Length Property

Scheduled Pinned Locked Moved C#
question
3 Posts 2 Posters 1 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
    mertkan65
    wrote on last edited by
    #1

    Hi All, I want to use this property but in MSDN it says "This property is not currently supported and always throws a NotSupportedException.". When will it be supported? Can you suggest any other method or property?

    B 1 Reply Last reply
    0
    • M mertkan65

      Hi All, I want to use this property but in MSDN it says "This property is not currently supported and always throws a NotSupportedException.". When will it be supported? Can you suggest any other method or property?

      B Offline
      B Offline
      Bhupi Bhai
      wrote on last edited by
      #2

      This should work, pls try and let me know. private m_NetworkStream = new NetworkStream(); public override long Length { get { return m_NetworkStream.Length; } } Regards, Bhupi Bhai

      M 1 Reply Last reply
      0
      • B Bhupi Bhai

        This should work, pls try and let me know. private m_NetworkStream = new NetworkStream(); public override long Length { get { return m_NetworkStream.Length; } } Regards, Bhupi Bhai

        M Offline
        M Offline
        mertkan65
        wrote on last edited by
        #3

        Should I put this code in my code? If it is so, "private m_NetworkStream = new NetworkStream();" it gives compile error. Can you give detailed information please?

        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