sP2P NAT Traversal and peer-to-peer networking API
Assembly: sP2PLib (in sP2PLib.dll) Version: 1.6.0.0 (1.6.0.0)
Custom properties associated with Peer object. Note this: When serialised Object.ToString() is used,
if you store complex object .ToString() usually returns type name. XML serialisation can be useful
for transferring complex objects.
Maximal length of serialised byte sequence of all custom properties is limited to 7000 bytes - this also includes length of property names!
DO NOT USE THIS PROPERTIES TO TRANSFER LARGE DATA LIKE base64 image string or so!!!
Namespace: sP2PLibRemarks
Examples
Peer Peer1 = new Peer(); Peer1["Email"] = "someone@whatever.com"; ...
Assembly: sP2PLib (in sP2PLib.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
Parameters
- PropertyName
- Type: System String
Name of custom property. Max length 255 characters
Return Value
Property valueSee Also