FAQ.Firewalls
Jump to navigation
Jump to search
Contents
How do I add an rule to the firewall for my application
- Create a .net package (recommendation from dr Bob at http://www.drbob42.com/examines/examin55.htm)
- Add the units in the DotNet-folder of ICS e g Overbyte.Ics.Component.pas et c.
- Add the Borland VCL (the units implicity uses them so they are needed as a reference)
- Compile and the finished DLL-can be used by .Net environments like Visual Studio 2005.
Deployment
The following files are needed when deploying your application
- ICS.dll (the file that you have created yourself as per description above)
- Borland.Delphi.dll
- Borland.Vcl.dll
- Borland.VclRtl.dll.
Examples
Using netsh
netsh firewall add allowedprogram C:\MyApp\MyApp.exe MyApp ENABLE