Represents an application that is available for use with the Peer Collaboration infrastructure.
Assembly: System.Net (in System.Net.dll)
Initializes a new default instance of thetype.
|PeerApplication(Guid, String, Byte, String, String, PeerScope)|
Initializes a newinstance with the supplied application ID, description, scope, and data elements.
Initializes a new instance of thetype with the data required for serialization.
Gets or sets command-line parameters to use when initiating a.
Gets or sets data associated with the currentinstance.
Gets or sets a Unicode String that describes the .
Gets or sets the user-defined Guid associated with the .
Gets or sets the path that designates where theexecutable file resides on the local file system.
Gets or sets the scope in which theis registered for collaboration.
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.
Releases resources used by theobject.
Releases the unmanaged resources used by theobject and optionally releases the managed resources.
Determines whether the specifiedobjects are considered equal.
Compares theto the specified instance.
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Returns the hash code for a Object.GetHashCode().)instance.(Overrides
Populates a SerializationInfo with the data needed to serialize the target .
Raises the ApplicationChanged event.
This event is raised whenever ais added, updated or deleted by a remote peer on a subscribed endpoint.
Implements the ISerializable interface and returns the data required to serialize the target .
An application is a set of software or software features available to a peer from an endpoint. Commonly, this refers to network-enabled software packages such as games or other collaborative applications. A PeerCollaboration network. This network enables infrastructure participants to initiate usage of this application. They may initiate a collaboration session using the application identified by this class.defines the set of software applications or components available for use with the
After constructing an instance of this class and setting the appropriate properties, this object may be used in System.Net.PeerToPeer collaboration sessions. Its use is accomplished by passing it to the peer collaboration RegisterApplication and UnregisterApplication methods, which will enable or disable it.
After registering an application with the Peer Collaboration infrastructure, the registration information persists in the registry. This makes the application available to collaboration applications even after the program which registered the application has exited.
Changing the properties on an application instance after it has been registered has no effect on the registration. To update the registration, the application must be deregistered and then registered again with the new information.
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.