Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Socket.SendFile Method

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

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

Public method SendFile(String) Sends the file fileName to a connected Socket object with the UseDefaultWorkerThread transmit flag.
Public method SendFile(String, Byte[], Byte[], TransmitFileOptions) Sends the file fileName and buffers of data to a connected Socket object using the specified TransmitFileOptions value.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.