- FileTransfer
FileTransfer
Namespace: Shared.Communication
Assembly: SharedLib
Internal class used to transfer files between client/serverMethods
ProcessClientFiles(Shared.Communication.MessageClient, Shared.Communication.Message) | Processes all file commands on behalf of the client |
ProcessServerFiles(Shared.Communication.MessageServer, Shared.Communication.Message, Shared.Communication.ConnectedClient) | Process all file commands on behalf of the server |
ReceiveFile(Net.Sockets.TcpClient, String, UInt64, Shared.Communication.FileBufferSize) | Receives a file via tcp socket and saves it to specified location Client Side Only |
ReceiveFile(Shared.Communication.ConnectedClient, String, UInt64, Shared.Communication.FileBufferSize) | Receives a file via tcp socket and saves it to specified location Server Side Only |
SendFile(Net.Sockets.TcpClient, String, Shared.Communication.FileBufferSize) | Sends a file to a tcp client Client Side Only |
SendFile(Shared.Communication.ConnectedClient, String, Shared.Communication.FileBufferSize) | Sends a file to a tcp client from the sever Server Side Only |