Interface IConnectionHandle
Interface for a handle to an active connetion between two in-game devices.
Inherited Members
Namespace: SociallyDistant.Core.OS.Network
Assembly: SociallyDistant.Framework.dll
Syntax
public interface IConnectionHandle : IDisposableProperties
CancellationToken
Gets a CancellationToken that is canceled when the network connection is broken.
Declaration
CancellationToken CancellationToken { get; }Property Value
| Type | Description | 
|---|---|
| CancellationToken | 
ConnectionId
Gets a value indicating the internal unique ID of the connection.
Declaration
uint ConnectionId { get; }Property Value
| Type | Description | 
|---|---|
| uint | 
IsValid
Gets a value indicating the status of the connection.
Declaration
bool IsValid { get; }Property Value
| Type | Description | 
|---|---|
| bool |