Windows Media Services SDK banner art
PreviousNext

SourcePort Property

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.

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.