System::Net::Security::SslStream::BeginRead method

SslStream::BeginRead method

Initiates an asynchronous read operation.

System::SharedPtr<IAsyncResult> System::Net::Security::SslStream::BeginRead(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t count, AsyncCallback asyncCallback, System::SharedPtr<Object> asyncState) override
ParameterTypeDescription
bufferSystem::ArrayPtr<uint8_t>The byte array to read data from.
offsetint32_tThe offset in bytes in the specified array.
countint32_tThe number of bytes to read.
asyncCallbackAsyncCallbackA callback to be called when the operation completes.
asyncStateSystem::SharedPtr<Object>User-provided data used to uniquely identify each asynchronous read operation.

ReturnValue

An IAsyncResult object representing the initiated asynchronous read operation.

See Also