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 | |
---|---|---|
CurrentProfileType | Gets the type of firewall profile currently in effect. | |
LocalPolicy | Gets the local firewall policy. |
Top
Methods
Name | Description | |
---|---|---|
IsIcmpTypeAllowed | Checks whether the specified ICMP type is allowed. | |
IsPortAllowed | Checks whether the application can listen to inbound traffic on the specified port. | |
RestoreDefaults | Restores the local configuration to its default, installed state. |
Top