Hi,
I am using a Netduino plus v1 with v4.2 firmware.
In C# I use:
using System;
using Microsoft.SPOT.Hardware;
InterruptPort port = new InterruptPort(pin, true, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeLow);
The mode at the end can be set to:
Port.InterruptMode.InterruptEdgeHigh,
Port.InterruptMode.InterruptEdgeLow,
Port.InterruptMode.InterruptEdgeBoth,
Port.InterruptMode.InterruptEdgeLevelHigh,
Port.InterruptMode.InterruptEdgeLevelLow
I think you are describing "Both"
Be aware that after the v4.1 to v4.2 firmware update, there are now two ways to configure inputs - Secret labs and Microsoft. So you may have issues using other people's code snippets unless you get the correct using statements and references. It had me confused for a while.
Hope this helps - Paul