Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Socket::SendFile Method

 

Sends a file and optional data synchronously to a connected Socket.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSendFile(String^)

Sends the file fileName to a connected Socket object with the UseDefaultWorkerThread transmit flag.

System_CAPS_pubmethodSendFile(String^, array<Byte>^, array<Byte>^, TransmitFileOptions)

Sends the file fileName and buffers of data to a connected Socket object using the specified TransmitFileOptions value.

Return to top
Show:
© 2017 Microsoft