SystemGatewayIPAddressInformation.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / NetworkInformation / SystemGatewayIPAddressInformation.cs / 1305376 / SystemGatewayIPAddressInformation.cs

                             
using System;

namespace System.Net.NetworkInformation
{ 

    /// Provides information about a network interface address. 
    internal class SystemGatewayIPAddressInformation:GatewayIPAddressInformation 
    {
        IPAddress address; 

        internal SystemGatewayIPAddressInformation(IPAddress address){
            this.address = address;
        } 

        /// Gets the Internet Protocol (IP) address. 
        public override IPAddress Address { 
            get{
                return address; 
            }
        }
    }
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
 
using System;

namespace System.Net.NetworkInformation
{ 

    /// Provides information about a network interface address. 
    internal class SystemGatewayIPAddressInformation:GatewayIPAddressInformation 
    {
        IPAddress address; 

        internal SystemGatewayIPAddressInformation(IPAddress address){
            this.address = address;
        } 

        /// Gets the Internet Protocol (IP) address. 
        public override IPAddress Address { 
            get{
                return address; 
            }
        }
    }
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.

                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK