This documentation is archived and is not being maintained.

Socket.BeginSendFile Method

Sends a file asynchronously to a connected Socket object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method BeginSendFile(String, AsyncCallback, Object) Sends the file fileName to a connected Socket object using the UseDefaultWorkerThread flag.
Public method BeginSendFile(String, Byte[], Byte[], TransmitFileOptions, AsyncCallback, Object) Sends a file and buffers of data asynchronously to a connected Socket object.