To get up and running with making your first WinGate plugin, follow the directions below.
- Obtain the WinGate SDK
- Install WinGate on your development machine (The WinGate service should start automatically).
- Run WinGate Management Console and license WinGate with both a WinGate key and a developer mode key obtained from our website.
- Restart WinGate and configure a user database provider and any other settings you require.
- Stop the WinGate service. This can be done from the Windows service manager, the WinGate Management Console or the Notification tray.
- Install the WinGate SDK onto the same machine.
- Run Visual Studio 2010.
- Create a new project and select WinGate Plugin Module from the Visual C++ section of the installed templates.
- Set your desired options in the Wizard and click Finish.
- Build the solution.
- Run WinGate service or set up your debug target to be WinGate.exe with -force9x as the command line parameter.
Assuming you have set options to add your module to the manifest and register the package with WinGate, then WinGate and the Wingate Management Console (WMC) should load your module.
NOTE: The buffering in the example programs is naive; it does not stream to disk and holds the entire message content in memory. Therefore it is not recommended to test this with messages and requests containing extremely large amounts of data.
NOTE: The WinGate SDK only supports VS 2010 at present
NOTE: The WinGateSDK works with version 8.5 and greater of WinGate