.NET SDK - DataChannel

DataChannel class

A data channel from our device to another Peer on the Rainway Network.

public class DataChannel : IDisposable

Public Members

namedescription
Id { get; }The id (label) of the data channel.
Mode { get; }The mode of the data channel.
Peer { get; }The peer that owns this data channel.
event MessageRaised when a message arrives.
Dispose()Destroys the peer connection, including all sub resources.
Send(…)Sends a text message via this data channel. (2 methods)

See Also