HostExtensionsGetServerAddresses Method

Gets the list of addresses the web server is listening on.

Definition

Namespace: Gemstone.Web.Hosting
Assembly: Gemstone.Web (in Gemstone.Web.dll) Version: 1.0.166 -- Release Build+4a305edb6f8467fec4d04bc8edb60d0dcc31a9ba
public static IEnumerable<string> GetServerAddresses(
	this IHost host
)

Parameters

host  IHost
The host of the web server.

Return Value

IEnumerableString
The list of addresses the server is listening on.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IHost. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also