Skip to content

Latest commit

 

History

History
89 lines (67 loc) · 3.11 KB

nf-netfw-inetfwservice-get_scope.md

File metadata and controls

89 lines (67 loc) · 3.11 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:netfw.INetFwService.get_Scope
INetFwService::get_Scope (netfw.h)
Controls the network scope from which the port can listen. (INetFwService.get_Scope)
INetFwService interface [ICS/ICF]
Scope property
INetFwService.Scope
INetFwService.get_Scope
INetFwService::Scope
INetFwService::get_Scope
INetFwService::put_Scope
Scope property [ICS/ICF]
Scope property [ICS/ICF]
INetFwService interface
get_Scope
ics.inetfwservice_scope
netfw/INetFwService::Scope
netfw/INetFwService::get_Scope
netfw/INetFwService::put_Scope
ics\inetfwservice_scope.htm
ics
17a7e47d-2145-4439-9999-7384de9fd12c
12/05/2018
INetFwService interface [ICS/ICF],Scope property, INetFwService.Scope, INetFwService.get_Scope, INetFwService::Scope, INetFwService::get_Scope, INetFwService::put_Scope, Scope property [ICS/ICF], Scope property [ICS/ICF],INetFwService interface, get_Scope, ics.inetfwservice_scope, netfw/INetFwService::Scope, netfw/INetFwService::get_Scope, netfw/INetFwService::put_Scope
netfw.h
Windows
Windows Vista, Windows XP with SP2 [desktop apps only]
Windows Server 2003 with SP1 [desktop apps only]
FirewallAPI.dll; Hnetcfg.dll on Windows XP with SP2
Windows
19H1
INetFwService::get_Scope
netfw/INetFwService::get_Scope
c++
APIRef
kbSyntax
COM
FirewallAPI.dll
Hnetcfg.dll
INetFwService.Scope
INetFwService.get_Scope
INetFwService.put_Scope

INetFwService::get_Scope

-description

Note

The Windows Firewall API is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. For Windows Vista and later, use of the Windows Firewall with Advanced Security API is recommended.

Controls the network scope from which the port can listen.

This property is read/write.

-parameters

-remarks

When setting the Scope property, only NET_FW_SCOPE_ALL and NET_FW_SCOPE_LOCAL_SUBNET are valid.

The default value is NET_FW_SCOPE_ALL for new ports.

To create a custom scope, use the RemoteAddresses property.

-see-also

INetFwRemoteAdminSettings

INetFwService

INetFwService.RemoteAddresses

NET_FW_SCOPE