This value is set in the flag field in a p2p header.
For filetransfers this value is for example 0x1000030
P2PTransferSession Class | XihSolutions.DotMSN.DataTransfer Namespace