Gets the address.

Namespace: DotNetNuke.Common.Utils
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string GetAddress(
	string Host,
	AddressType AddressFormat
)
Visual Basic
Public Shared Function GetAddress ( 
	Host As String,
	AddressFormat As AddressType
) As String

Parameters

Host
Type: System..::..String
The host.
AddressFormat
Type: DotNetNuke.Common.Utils..::..AddressType
The address format.

Return Value

Returns IP address

Remarks