Previous | Next |
Returns the source port of the file transfer.
Syntax
NSFile.SourcePort
Remarks
This property can be used to determine the IP port of the sender. It can be used to ensure that the source from which you receive a transfer is the correct one. This property can be useful both as a security measure to validate transfer sources, and to sort out transfers from more than one source. The EndpointAddress property in a multicast transfer indicates the multicast port to which the receiver is listening, not the port of the sender.
This property is available after at least one file transfer.
Previous | Next |