Thursday, April 2, 2015

C#: Input stream is not readable since its canread returns false

Hi Jegan,


After take a look at Stream. CanRead Property in MSDN documents.


Please note the Remarks section.


If a class derived from Stream does not support reading, calls to the Read , ReadByte , and BeginRead methods throw a NotSupportedException


If the stream is closed, this property returns false .


Best regards,


Kristin




We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

Click HERE to participate the survey.


No comments:

Post a Comment