» One More Reason I Hate Microsoft
Posted by Lance
What company in their right mind, other than Microsoft, would release a programming environment where they document methods of properties that don’t exist?
I ran into this gem while attempting to program functional network socket clients in the Visual Studio IDE using the ever-so-awesome (read bloated) .Net Framework:
NetworkStream..::.Flush Method
Flushes data from the stream. This method is reserved for future use.
What the heck?
Have any other wonderful Microsoft gems like this one? Please share!










April 29th, 2008 at 2:40 pm
my favorite was always the line in the old win 3.1 startup config that told the system to wait for 3 seconds so as to appear to be loading important stuff.
April 29th, 2008 at 3:03 pm
Chris -
Seriously? You have a link about this Win 3.1 phenomenon? Consider my interest piqued.
April 30th, 2008 at 9:06 am
Buggers, I can’t find any sites talking about it. But there’s not a whole lot of win3.1 stuff hanging around out there anymore
April 30th, 2008 at 9:22 am
Lance-
From the remarks on the MSDN page.
The Flush method implements the Stream.Flush method; however, because NetworkStream is not buffered, it has no affect on network streams. Calling the Flush method does not throw an exception.
Apparently when diving deeper into the Stream.Flush mehtod you get this response.
Override Flush on streams that implement a buffer.
So I think they left this to the do it yourself category.