<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FCSharp_Tutorial%2FNetwork%2FNetworkInterface</id>
		<title>Csharp/CSharp Tutorial/Network/NetworkInterface - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FCSharp_Tutorial%2FNetwork%2FNetworkInterface"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/Network/NetworkInterface&amp;action=history"/>
		<updated>2026-04-29T12:22:20Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/Network/NetworkInterface&amp;diff=6886&amp;oldid=prev</id>
		<title> в 15:31, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/Network/NetworkInterface&amp;diff=6886&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:53Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 15:31, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/Network/NetworkInterface&amp;diff=6887&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/CSharp_Tutorial/Network/NetworkInterface&amp;diff=6887&amp;oldid=prev"/>
				<updated>2010-05-26T12:20:44Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Report information from NetworkInterface: IP address and DHCP Expires (DhcpLeaseLifetime)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
using System.Net.NetworkInformation;&lt;br /&gt;
class MainClass&lt;br /&gt;
{&lt;br /&gt;
    static void Main()&lt;br /&gt;
    {&lt;br /&gt;
        if (!NetworkInterface.GetIsNetworkAvailable())&lt;br /&gt;
           return;&lt;br /&gt;
        NetworkInterface[] interfaces = NetworkInterface.GetAllNetworkInterfaces();&lt;br /&gt;
        foreach (NetworkInterface ni in interfaces)&lt;br /&gt;
        {&lt;br /&gt;
            Console.WriteLine(&amp;quot;IP Addresses:&amp;quot;);&lt;br /&gt;
            foreach (UnicastIPAddressInformation addr in ni.GetIPProperties().UnicastAddresses)&lt;br /&gt;
            {&lt;br /&gt;
                Console.WriteLine(&amp;quot;- {0} (lease expires {1})&amp;quot;, addr.Address, DateTime.Now + new TimeSpan(0, 0, (int)addr.DhcpLeaseLifetime));&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;IP Addresses:&lt;br /&gt;
IP Addresses:&lt;br /&gt;
- 192.168.1.101 (lease expires 26/03/2007 8:28:25 AM)&lt;br /&gt;
IP Addresses:&lt;br /&gt;
- 127.0.0.1 (lease expires 31/12/1969 5:00:00 PM)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Report information from NetworkInterface: name, description, id, type, speed, status==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
using System.Net.NetworkInformation;&lt;br /&gt;
class MainClass&lt;br /&gt;
{&lt;br /&gt;
    static void Main()&lt;br /&gt;
    {&lt;br /&gt;
        if (!NetworkInterface.GetIsNetworkAvailable())&lt;br /&gt;
           return;&lt;br /&gt;
        NetworkInterface[] interfaces = NetworkInterface.GetAllNetworkInterfaces();&lt;br /&gt;
        foreach (NetworkInterface ni in interfaces)&lt;br /&gt;
        {&lt;br /&gt;
            &lt;br /&gt;
            Console.WriteLine(&amp;quot;Interface Name: {0}&amp;quot;, ni.Name);&lt;br /&gt;
            Console.WriteLine(&amp;quot;    Description: {0}&amp;quot;, ni.Description);&lt;br /&gt;
            Console.WriteLine(&amp;quot;    ID: {0}&amp;quot;, ni.Id);&lt;br /&gt;
            Console.WriteLine(&amp;quot;    Type: {0}&amp;quot;, ni.NetworkInterfaceType);&lt;br /&gt;
            Console.WriteLine(&amp;quot;    Speed: {0}&amp;quot;, ni.Speed);&lt;br /&gt;
            Console.WriteLine(&amp;quot;    Status: {0}&amp;quot;, ni.OperationalStatus);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;Interface Name: Wireless Network Connection&lt;br /&gt;
    Description: Broadcom 802.11b/g WLAN - Packet Scheduler Miniport&lt;br /&gt;
    ID: {4FA13198-E7E5-4065-8395-EDC576EE1020}&lt;br /&gt;
    Type: Ethernet&lt;br /&gt;
    Speed: 54000000&lt;br /&gt;
    Status: Down&lt;br /&gt;
Interface Name: Local Area Connection&lt;br /&gt;
    Description: Realtek RTL8139 Family PCI Fast Ethernet NIC - Packet Scheduler Miniport&lt;br /&gt;
    ID: {0180EFAF-14BF-42AA-A274-6D8D766A0093}&lt;br /&gt;
    Type: Ethernet&lt;br /&gt;
    Speed: 100000000&lt;br /&gt;
    Status: Up&lt;br /&gt;
Interface Name: MS TCP Loopback interface&lt;br /&gt;
    Description: MS TCP Loopback interface&lt;br /&gt;
    ID: MS TCP Loopback interface&lt;br /&gt;
    Type: Loopback&lt;br /&gt;
    Speed: 10000000&lt;br /&gt;
    Status: Up&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Report information from NetworkInterface: network statistics==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
using System.Net.NetworkInformation;&lt;br /&gt;
class MainClass&lt;br /&gt;
{&lt;br /&gt;
    static void Main()&lt;br /&gt;
    {&lt;br /&gt;
        if (!NetworkInterface.GetIsNetworkAvailable())&lt;br /&gt;
           return;&lt;br /&gt;
        NetworkInterface[] interfaces = NetworkInterface.GetAllNetworkInterfaces();&lt;br /&gt;
        foreach (NetworkInterface ni in interfaces)&lt;br /&gt;
        {&lt;br /&gt;
            &lt;br /&gt;
            Console.WriteLine(&amp;quot;    Bytes Sent: {0}&amp;quot;, ni.GetIPv4Statistics().BytesSent);&lt;br /&gt;
            Console.WriteLine(&amp;quot;    Bytes Received: {0}&amp;quot;, ni.GetIPv4Statistics().BytesReceived);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;Bytes Sent: 0&lt;br /&gt;
    Bytes Received: 0&lt;br /&gt;
    Bytes Sent: 48385872&lt;br /&gt;
    Bytes Received: 1254629355&lt;br /&gt;
    Bytes Sent: 10523298&lt;br /&gt;
    Bytes Received: 10523298&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Report information from NetworkInterface: physical address==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;using System;&lt;br /&gt;
using System.Net.NetworkInformation;&lt;br /&gt;
class MainClass&lt;br /&gt;
{&lt;br /&gt;
    static void Main()&lt;br /&gt;
    {&lt;br /&gt;
        if (!NetworkInterface.GetIsNetworkAvailable())&lt;br /&gt;
           return;&lt;br /&gt;
        NetworkInterface[] interfaces = NetworkInterface.GetAllNetworkInterfaces();&lt;br /&gt;
        foreach (NetworkInterface ni in interfaces)&lt;br /&gt;
        {&lt;br /&gt;
            Console.WriteLine(&amp;quot;    Physical Address: {0}&amp;quot;,  ni.GetPhysicalAddress().ToString());&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;Physical Address: 0014A51190DC&lt;br /&gt;
    Physical Address: 00C09FC5BD14&lt;br /&gt;
    Physical Address:&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>