Share via


IWHSInfo.IsRouterUPnPEnabled Method

Indicates whether the UPnP protocol is enabled on the router.

Namespace: Microsoft.HomeServer.SDK.Interop.v1
Assembly: Microsoft.HomeServer.SDK.Interop.v1 (in microsoft.homeserver.sdk.interop.v1.dll)

Usage

Syntax

'Declaration
Function IsRouterUPnPEnabled As Integer
int IsRouterUPnPEnabled ()
int IsRouterUPnPEnabled ()
int IsRouterUPnPEnabled ()
function IsRouterUPnPEnabled () : int

Return Value

An integer value that indicates whether the UPnP protocol is enabled on the router that is attached to the server.

Remarks

If the UPnP protocol is enabled on the router, the value is 1; if the UPnP protocol is not enabled, the value is 0.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Home Server

See Also

Reference

IWHSInfo Interface
IWHSInfo Members
Microsoft.HomeServer.SDK.Interop.v1 Namespace