System.Net.NetworkInformation.UnixNetworkInterface.AddAddress C# (CSharp) Method

AddAddress() private method

private AddAddress ( IPAddress address ) : void
address IPAddress
return void
		internal void AddAddress (IPAddress address)
		{
			addresses.Add (address);
		}

Usage Example

Esempio n. 1
0
        protected static unsafe void ProcessIpv6Address(UnixNetworkInterface uni,
                                                        Interop.Sys.IpAddressInfo *addressInfo,
                                                        uint scopeId)
        {
            IPAddress address = IPAddressUtil.GetIPAddressFromNativeInfo(addressInfo);

            uni.AddAddress(address);
            uni._ipv6ScopeId = scopeId;
        }
All Usage Examples Of System.Net.NetworkInformation.UnixNetworkInterface::AddAddress