PeerNameRecord.Comment Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets additional information about the PeerNameRecord object.

Namespace:   System.Net.PeerToPeer
Assembly:  System.Net (in System.Net.dll)

public string Comment { get; set; }

Property Value

Type: System.String

The comment associated with the PeerNameRecord object. The default value for this property is null.

Exception Condition

The comment to set is either larger than 39 Unicode characters or less than one character.


The comment to set is null.

The maximum length of the comment is 39 Unicode characters.

.NET Framework
Available since 3.5
Return to top