PeerNearMe
PeerNearMe
PeerNearMe
PeerNearMe
Class
Definition
Represents a peer located by the "People Near Me" infrastructure.
public ref class PeerNearMe : System::Net::PeerToPeer::Collaboration::Peer, IEquatable<System::Net::PeerToPeer::Collaboration::PeerNearMe ^>, System::Runtime::Serialization::ISerializable
[System.Serializable]
public class PeerNearMe : System.Net.PeerToPeer.Collaboration.Peer, IEquatable<System.Net.PeerToPeer.Collaboration.PeerNearMe>, System.Runtime.Serialization.ISerializable
type PeerNearMe = class
inherit Peer
interface IEquatable<PeerNearMe>
interface ISerializable
Public Class PeerNearMe
Inherits Peer
Implements IEquatable(Of PeerNearMe), ISerializable
- Inheritance
- Attributes
- Implements
Remarks
An instance of this class cannot be created directly. Instead, a reference to the peers "near" the calling peer is obtained by using the static GetPeersNearMe method to return a collection of nearby peers.
A peer represented by a PeerNearMe object is not necessarily in the calling peer's address book.
Constructors
PeerNearMe() PeerNearMe() PeerNearMe() PeerNearMe() |
Initializes a new default instance of the PeerNearMe class. |
PeerNearMe(SerializationInfo, StreamingContext) PeerNearMe(SerializationInfo, StreamingContext) PeerNearMe(SerializationInfo, StreamingContext) PeerNearMe(SerializationInfo, StreamingContext) |
Initializes a new PeerNearMe instance with the associated parameters required for serialization. |
Properties
IsOnline IsOnline IsOnline IsOnline |
Gets a value specifying if the Peer is currently 'online'. (Inherited from Peer) |
Nickname Nickname Nickname Nickname |
Gets or sets a String representing the Nickname of the PeerNearMe object. |
PeerEndPoints PeerEndPoints PeerEndPoints PeerEndPoints |
Gets the PeerEndPointCollection associated with the Peer. (Inherited from Peer) |
SynchronizingObject SynchronizingObject SynchronizingObject SynchronizingObject |
When this property value is set, all events not fired as the result of an asynchronous operation will have the associated event handlers called back on the thread that created the specific SynchronizingObject. (Inherited from Peer) |
Methods
Events
InviteCompleted InviteCompleted InviteCompleted InviteCompleted |
Raised when the invitation process for a remote peer has completed. (Inherited from Peer) |
PeerNearMeChanged PeerNearMeChanged PeerNearMeChanged PeerNearMeChanged |
Signaled when a new PeerNearMe instance is found, no longer available, or the associated PeerEndPoint object information has changed. |
RefreshDataCompleted RefreshDataCompleted RefreshDataCompleted RefreshDataCompleted |
Signaled when the RefreshData() or RefreshDataAsync(Object) operation for the PeerNearMe instance is completed. |
Explicit Interface Implementations
ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
Populates the current PeerNearMe instance with the data obtained from the serialized source. |
Applies to
See also
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...