C# Class System.Net.DnsEndPoint

Inheritance: EndPoint
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
DnsEndPoint ( string host, int port ) : System.Net.Sockets
DnsEndPoint ( string host, int port, AddressFamily addressFamily ) : System.Net.Sockets
Equals ( object comparand ) : bool
GetHashCode ( ) : int
ToString ( ) : string

Method Details

DnsEndPoint() public method

public DnsEndPoint ( string host, int port ) : System.Net.Sockets
host string
port int
return System.Net.Sockets

DnsEndPoint() public method

public DnsEndPoint ( string host, int port, AddressFamily addressFamily ) : System.Net.Sockets
host string
port int
addressFamily AddressFamily
return System.Net.Sockets

Equals() public method

public Equals ( object comparand ) : bool
comparand object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string