Peer Item Property sP2P NAT Traversal and peer-to-peer networking API
sP2P NAT Traversal and peer-to-peer networking API
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.
Remarks

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!!!
Examples

Peer Peer1 = new Peer();
Peer1["Email"] = "someone@whatever.com";
...

Namespace: sP2PLib
Assembly: sP2PLib (in sP2PLib.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax

Public Default Property Item ( _
	PropertyName As String _
) As Object 
	Get 
	Set

Parameters

PropertyName
Type: System String
Name of custom property. Max length 255 characters

Return Value

Property value
See Also