HostExtensionsGetLocalWebAddressAsync Method

Gets a web server address usable from the local system.

Definition

Namespace: Gemstone.Web.Hosting
Assembly: Gemstone.Web (in Gemstone.Web.dll) Version: 1.0.171 -- Release Build+f97a6efcf348dbb2ce14e0dc455918e455771b06
public static Task<string?> GetLocalWebAddressAsync(
	this IHost host
)

Parameters

host  IHost
The host of the web server.

Return Value

TaskString
The local address of the web server.

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