Socket::SendFile Method
.NET Framework (current version)
Sends a file and optional data synchronously to a connected Socket.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | SendFile(String^) | Sends the file fileName to a connected Socket object with the UseDefaultWorkerThread transmit flag. |
![]() | SendFile(String^, array<Byte>^, array<Byte>^, TransmitFileOptions) | Sends the file fileName and buffers of data to a connected Socket object using the specified TransmitFileOptions value. |
Show:
