NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ICryptoStream.Write (Byte[], Int32, Int32)

This function is used to put write data on the object.

[Visual Basic]
Overloads Sub Write( _
   ByVal rgbInputData() As Byte, _
   ByVal ibStart As Integer, _
   ByVal cbSize As Integer _
)
[C#]
void Write(
   byte[] rgbInputData,
   int ibStart,
   int cbSize
);
[C++]
void Write(
   unsigned char* rgbInputData[],
   int ibStart,
   int cbSize
) = 0;
[JScript]
function Write(
   rgbInputData : Byte[],
   ibStart : int,
   cbSize : int
);

Parameters

rgbInputData
array of bytes to write to the stream
ibStart
[To be supplied.]
cbSize
[To be supplied.]

Return Value

The function returns the count of bytes that are written.

Exceptions

Exception Type Condition
CryptographicUnexpectedOperationException write after closing

See Also

ICryptoStream Interface | ICryptoStream Members | System.Security.Cryptography Namespace | ICryptoStream.Write Overload List