Uredi

Deli z drugimi prek


CryptoStream.WriteByte(Byte) Method

Definition

Writes a byte to the current position in the stream and advances the position within the stream by one byte.

public:
 override void WriteByte(System::Byte value);
public override void WriteByte (byte value);
override this.WriteByte : byte -> unit
Public Overrides Sub WriteByte (value As Byte)

Parameters

value
Byte

The byte to write to the stream.

Exceptions

An I/O error occurs.

The stream does not support writing, or the stream is already closed.

Methods were called after the stream was closed.

Remarks

Use the CanWrite property to determine whether the current instance supports writing.

Applies to