Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The INetFwServiceRestriction interface provides access to the Windows Service Hardening networking rules.
The INetFwServiceRestriction interface inherits from the IDispatch interface. INetFwServiceRestriction also has these types of members:
The INetFwServiceRestriction interface has these methods.
INetFwServiceRestriction::get_Rules Retrieves the collection of Windows Service Hardening networking rules. |
INetFwServiceRestriction::RestrictService The RestrictService method turns service restriction on or off for a given service. |
INetFwServiceRestriction::ServiceRestricted The ServiceRestricted method indicates whether service restriction rules are enabled to limit traffic to the resources specified by the firewall rules. |
When adding rules, note that there may be a small time lag before the newly-added rule is applied.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | netfw.h |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today