Freigeben über


INetFwMgr Interface

Interface that allows access to the firewall settings for the computer.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
<GuidAttribute("F7898AF5-CAC4-4632-A2EC-DA06E5111AF2")> _
Public Interface INetFwMgr
[GuidAttribute("F7898AF5-CAC4-4632-A2EC-DA06E5111AF2")]
public interface INetFwMgr
[GuidAttribute(L"F7898AF5-CAC4-4632-A2EC-DA06E5111AF2")]
public interface class INetFwMgr
[<GuidAttribute("F7898AF5-CAC4-4632-A2EC-DA06E5111AF2")>]
type INetFwMgr =  interface end
public interface INetFwMgr

The INetFwMgr type exposes the following members.

Properties

  Name Description
Public property CurrentProfileType Gets the type of firewall profile currently in effect.
Public property LocalPolicy Gets the local firewall policy.

Top

Methods

  Name Description
Public method IsIcmpTypeAllowed Checks whether the specified ICMP type is allowed.
Public method IsPortAllowed Checks whether the application can listen to inbound traffic on the specified port.
Public method RestoreDefaults Restores the local configuration to its default, installed state.

Top

See Also

Reference

Microsoft.TeamFoundation.Common Namespace