PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 25 → WD - Como abrir uma porta no firewall para XP (a partir de SP2)?
WD - Como abrir uma porta no firewall para XP (a partir de SP2)?
Débuté par BOLLER ADRIANO, 02 juil. 2016 02:11 - Aucune réponse
Membre enregistré
3 662 messages
Popularité : +175 (223 votes)
Posté le 02 juillet 2016 - 02:11
FwMGR est un objet automation "HNetCfg.FwMgr"
Profile est un objet automation dynamique
Port est un objet automation "HNetCfg.FWOpenPort"

Profile = FwMGR>>LocalPolicy>>CurrentProfile
Port>>Name = "indiquez ici le nom du port"
Port>>Protocol = 6
Port>>Port = "indiquez ici un port entre 1 ET 35535"
Port>>Scope = 0
Port>>Enabled = Vrai //OU Faux POUR le desactiver
Profile>>GloballyOpenPorts>>Add(Port)


--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/