Replies: 1 comment 3 replies
-
You need to use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like for device_OnPacketArrival to be async, but PacketCapture e doesn't support that.
It is an OnPacketArrival void:
device.OnPacketArrival += new PacketArrivalEventHandler(device_OnPacketArrival);
Is this planned or am I doing somethin wrong?
private static async void device_OnPacketArrival(object sender, PacketCapture e) { /* magic */ }
==> Gives me CS4012: Variables of type PacketCapture cannot be declared in async methods
Beta Was this translation helpful? Give feedback.
All reactions