Share via


IWHSInfo2.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 instance of Int32 with a value of 0 or 1. If the UPnP protocol is enabled on the router, the value is 1; otherwise, 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

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