Property | Type | Description | |
---|---|---|---|
IsEnhancedAddress | bool | ||
ParseEnhanced | |||
ParseLegacy |
Method | Description | |
---|---|---|
Address ( AddressFamily addressFamily, string address, int port ) : System |
Initializes a new instance of the Address class.
|
|
Address ( int port ) : System |
Initializes a new instance of the Address class. This constructor omits the address part. |
|
Address ( string address, int port ) : System |
Initializes a new instance of the Address class.
|
|
Parse ( string address ) : |
Parses an IP address
|
|
ToString ( ) : string |
Converts the IP address to a string as required by the PASV command
|
|
ToString ( bool logFormat ) : string |
Converts the IP address into a string
|
|
ToUri ( ) : |
Converts this address to an URI
|
Method | Description | |
---|---|---|
IsEnhancedAddress ( string address ) : bool | ||
ParseEnhanced ( string address ) : |
||
ParseLegacy ( string address ) : |
public Address ( AddressFamily addressFamily, string address, int port ) : System | ||
addressFamily | AddressFamily | The IP address family |
address | string | The IP address |
port | int | The port |
return | System |
public Address ( string address, int port ) : System | ||
address | string | IPv4 address |
port | int | The port |
return | System |
public static Parse ( string address ) : |
||
address | string | The IP address to parse |
return |
public ToString ( bool logFormat ) : string | ||
logFormat | bool | true when it should be converted to a loggable format, otherwise the FTP format is used |
return | string |