Socket.SendFile Method
.NET Framework 3.0
Sends a file and optional data synchronously to a connected Socket.
| Name | Description |
|---|---|
| Socket.SendFile (String) | Sends the file fileName to a connected Socket object with the UseDefaultWorkerThread transmit flag. |
| Socket.SendFile (String, Byte[], Byte[], TransmitFileOptions) | Sends the file fileName and buffers of data to a connected Socket object using the specified TransmitFileOptions value. |