PeerName Class
Specifies the values that define a peer-to-peer PeerName object. A peer name is typically a string used to identify a peer resource.
Assembly: System.Net (in System.Net.dll)
| Name | Description | |
|---|---|---|
![]() | PeerName(SerializationInfo^, StreamingContext) | Populates a SerializationInfo object with the data needed to serialize the PeerName. |
![]() | PeerName(String^) | Initializes a new object of type PeerName with the supplied fully qualified peer name String value. |
![]() | PeerName(String^, PeerNameType) | Initializes a new instance of the PeerName class. |
| Name | Description | |
|---|---|---|
![]() | Authority | Returns a string that specifies the Authority used by this PeerName object. |
![]() | Classifier | Returns a string that contains the classifier for a peer-to-peer PeerName. |
![]() | IsSecured | Gets a Boolean value that specifies whether this is a secured peer name. |
![]() | PeerHostName | Gets the name of the peer-to-peer host. This is a DNS-encoded version of the PeerName which is equivalent to a PeerHostName in that they are both identifiers. The difference between the two is visual representation. |
| Name | Description | |
|---|---|---|
![]() ![]() | CreateFromPeerHostName(String^) | Creates a new instance of the specified PeerHostName object with the specified peer host name. |
![]() ![]() | CreateRelativePeerName(PeerName^, String^) | Creates a new PeerName by replacing the Classifier field defined on the supplied PeerName object with the specified classifier string value. |
![]() | Equals(Object^) | Determines whether the content of this PeerName is equal to the content of another object. (Overrides Object::Equals(Object^).) |
![]() | Equals(PeerName^) | Performs a case-sensitive comparison of the current PeerName and the specified peer name. |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Overrides the GetHashCode method.(Overrides Object::GetHashCode().) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | Populates a serialization information object with the data needed to serialize the PeerName. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string representation of the current PeerName object.(Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | ISerializable::GetObjectData(SerializationInfo^, StreamingContext) | Implements the ISerializable interface and returns the data needed to serialize the PeerName instance. |
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





