Example #1
0
        private INetworkInterfaceData GetActiveNetworkInterface()
        {
            var networkInterfaceData = _networkData.GetNetworkInterfaceData();
            var localIPAddress       = _networkData.GetLocalIPAddress();

            return(_networkData.GetActiveNetworkInterface(localIPAddress, networkInterfaceData));
        }