Export (0) Print
Expand All

Cloud Class

Specifies the values that define a Peer Cloud object.

System.Object
  System.Net.PeerToPeer.Cloud

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

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

The Cloud type exposes the following members.

  NameDescription
Protected methodCloudInitializes a new instance of the PNRP Cloud type. This populates a serialization information object with the data needed to serialize the Cloud object.
Top

  NameDescription
Public propertyStatic memberGlobalGets a Cloud instance that contains globally (internet) scoped peers.
Public propertyNameGets the name of the peer Cloud.
Public propertyScopeGets the network scope of the peer Cloud.
Public propertyScopeIdGets the identifier of a specific IP address for this peer Cloud.
Top

  NameDescription
Public methodEquals(Cloud)Performs a case-sensitive comparison between two cloud objects.
Public methodEquals(Object)Determines whether the content of this peer Cloud is equivalent to the content of a System object. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberGetAvailableCloudsObtains a collection of peer clouds known to the calling peer.
Public methodStatic memberGetCloudByNameReturns the Cloud object with the specified cloud name.
Public methodGetHashCodeOverrides GetHashCode. (Overrides Object.GetHashCode().)
Protected methodGetObjectDataPopulates a System.Runtime.Serialization information object with the data needed to serialize the Cloud.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string representation of the current Cloud. (Overrides Object.ToString().)
Top

  NameDescription
Public fieldStatic memberAllLinkLocalReturns a reference to a Cloud which represents all the link-local clouds in which the client or peer is currently participating.
Public fieldStatic memberAvailableReturns a static reference to a Cloud which represents all the available clouds in which the client is currently participating.
Top

  NameDescription
Explicit interface implemetationPrivate methodISerializable.GetObjectDataImplements the ISerializable interface and returns the data needed to serialize the Cloud instance.
Top

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

Supported in: 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft