Class FileTransferRequestedArgs
Provides event arguments for file transfer request events.
public class FileTransferRequestedArgs
- Inheritance
-
FileTransferRequestedArgs
- Inherited Members
Constructors
FileTransferRequestedArgs()
public FileTransferRequestedArgs()
Properties
ConnectionId
Gets the unique identifier for this connection. This value equals the InstanceId property. Provided as a separate property for consistency with other server events.
public Guid ConnectionId { get; }
Property Value
IsValid
Gets or sets a value indicating whether the file transfer is valid and accepted by user code. This property must be set by user code in the event handler.
public bool IsValid { get; set; }
Property Value
RequestedFileTransfer
Gets the file transfer object for the requested operation. The object is guaranteed to be already initialized with the requested URI, remote endpoint, file path, direction, and other properties.
public IFileTransfer RequestedFileTransfer { get; }