|
-
Jan 8th, 2007, 07:57 PM
#1
Thread Starter
New Member
Convert While in C# to VB.Net
I am a little stuck, I am following these examples and trying to do them in VB.Net but have run into a problem.
SharpPcap Examples
I am working on example 4 and am not sure how I would convert this to VB.Net
while( (packet=device.PcapGetNextPacket()) != null )
I have tried:
While Not (Packet = Device.PcapGetNextPacket) Is Nothing
With no go.
How would I convert this C# statement to VB.Net?
Thanks,
David
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|