Class
MacNetworkConnectionsDetector

Detector for Mac-specific network connections.

Definition

Namespace:Telerik.NetworkConnections.Mac

Assembly:Telerik.NetworkConnections.dll

Syntax:

cs-api-definition
[NetworkConnectionsDetectorExport("OSX")]
public class MacNetworkConnectionsDetector : INetworkConnectionsDetector

Inheritance: objectMacNetworkConnectionsDetector

Implements: INetworkConnectionsDetector

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()

Constructors

MacNetworkConnectionsDetector()

Declaration

cs-api-definition
public MacNetworkConnectionsDetector()

Methods

Detect()

Factory method for creating NetworkConnection instances.

Declaration

cs-api-definition
public ISet<NetworkConnection> Detect()

Returns

ISet<NetworkConnection>

Implements INetworkConnectionsDetector.Detect()

GetActiveNetworkInterfaces()

Runs a shell command to retrieve all currently active network interfaces

Declaration

cs-api-definition
public List<NetworkInterface> GetActiveNetworkInterfaces()

Returns

List<NetworkInterface>

A list of NetworkInterface objects

Implements INetworkConnectionsDetector.GetActiveNetworkInterfaces()