Gets a value that indicates whether the System.Net.Sockets.NetworkStream supports writing.
true indicates that the current stream supports writing; false indicates that the current stream does not support writing.
If NetworkStream.CanWrite is true, System.Net.Sockets.NetworkStream allows calls to the NetworkStream.Write(Byte[], int, int) method. Provide the appropriate System.IO.FileAccess enumerated value in the constructor to set the readability and writability of the System.Net.Sockets.NetworkStream. The NetworkStream.CanWrite property is set when the System.Net.Sockets.NetworkStream is initialized.