.NET SDK - RainwayConnection

RainwayConnection class

A connection to the Rainway network over which peer connection requests are transmitted.

public class RainwayConnection : IDisposable

Public Members

ExternalId { get; }The optional user-specified string identifying the local peer.
Id { get; }A numeric ID identifying the local peer. A Peer ID identifies a Rainway peer to other peers.
Peers { get; }List of peers connected via this Rainway connection.
event CloseRaised when the connection to Rainway is closed.
event PeerRequestRaised when a remote peer wants to connect to this device.
ConnectAsync(…)Connect to another peer on the Rainway Network.
Dispose()Destroys the Rainway network connection, including all sub resources.

See Also