File: System\Net\NetworkInformation\UnixIPv4InterfaceProperties.cs
Web Access
Project: src\src\libraries\System.Net.NetworkInformation\src\System.Net.NetworkInformation.csproj (System.Net.NetworkInformation)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Net.NetworkInformation
{
    internal abstract class UnixIPv4InterfaceProperties : IPv4InterfaceProperties
    {
        private readonly UnixNetworkInterface _uni;
 
        public UnixIPv4InterfaceProperties(UnixNetworkInterface uni)
        {
            _uni = uni;
        }
 
        public sealed override int Index { get { return _uni.Index; } }
    }
}