Cloud Class

Cloud Class

 

Specifies the values that define a Peer Cloud object.

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

System.Object
  System.Net.PeerToPeer.Cloud

[SerializableAttribute]
public class Cloud : ISerializable, IEquatable<Cloud>

NameDescription
System_CAPS_protmethodCloud(SerializationInfo, StreamingContext)

Initializes a new instance of the PNRP Cloud type. This populates a serialization information object with the data needed to serialize the Cloud object.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticGlobal

Gets a Cloud instance that contains globally (internet) scoped peers.

System_CAPS_pubpropertyName

Gets the name of the peer Cloud.

System_CAPS_pubpropertyScope

Gets the network scope of the peer Cloud.

System_CAPS_pubpropertyScopeId

Gets the identifier of a specific IP address for this peer Cloud.

NameDescription
System_CAPS_pubmethodEquals(Cloud)

Performs a case-sensitive comparison between two cloud objects.

System_CAPS_pubmethodEquals(Object)

Determines whether the content of this peer Cloud is equivalent to the content of a System object. (Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetAvailableClouds()

Obtains a collection of peer clouds known to the calling peer.

System_CAPS_pubmethodSystem_CAPS_staticGetCloudByName(String)

Returns the Cloud object with the specified cloud name.

System_CAPS_pubmethodGetHashCode()

Overrides GetHashCode.(Overrides Object.GetHashCode().)

System_CAPS_protmethodGetObjectData(SerializationInfo, StreamingContext)

Populates a System.Runtime.Serialization information object with the data needed to serialize the Cloud.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string representation of the current Cloud.(Overrides Object.ToString().)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticAllLinkLocal

Returns a reference to a Cloud which represents all the link-local clouds in which the client or peer is currently participating.

System_CAPS_pubfieldSystem_CAPS_staticAvailable

Returns a static reference to a Cloud which represents all the available clouds in which the client is currently participating.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

Implements the ISerializable interface and returns the data needed to serialize the Cloud instance.

A Cloud is a set of nodes that can communicate with each other through the network. Cloud, peer mesh, and peer-to-peer graph are synonymous. A single peer or node may be connected to more than one cloud.

Communication between nodes should never cross from one cloud to another. A Cloud instance is uniquely identified by its name, which is case-sensitive.

Clouds are tied very closely to network interfaces. On a multi-homed machine with two network cards attached to different subnets, three clouds will be returned: one for each of the link local addresses per interface, and a single global scope cloud.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft