By Admin on Friday, 02 April 2021
Category: All

WebSocket Send File .NET

​From sgcWebSockets 4.4.8, WebSocket Protocol Files is supported by sgcWebSockets .NET Library.

This protocol allows sending files using binary WebSocket transport. It can handle big files with a low memory usage.

Features

Code Example 

To send a File to Server, just call the method SendFile of Files Protocol and pass the full FileName as argument.

The file received by server, will be saved by default in the same directory where is the server executable or in the Path set in the Files.SaveDirectory property. 

Related Posts